Thanks Paul!
I've removed few more methods from StreamHeader as they are already
implemented in AbstractHeaderImpl.
-Arun
Paul Sandoz wrote:
> 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.
>
--
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta