dev@jax-ws.java.net

Re: StreamHeader

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 20 Sep 2006 13:02:41 +0200

Hi Arun,

Arun Gupta wrote:
> Any reason com.sun.xml.ws.message.stream.StreamHeader is implementing
> Header instead of extending AbstractHeaderImpl ?
>

I cannot recall the exact details. It could be simply that
AbstractHeaderImpl was not there when StreamHeader was implemented, or i
was not aware of it (probably the latter!).

BTW StreamHeader will override a most of the methods of
AbstractHeaderImpl i.e. there are faster implementations to get access
to the SOAP attributes of mustUnderstand/role/relay.

However, i do not see why it cannot inherit from AbstractHeaderImpl for
consistency. I have modified the code to do this for JAX-WS 2.1.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109