Re: Why are the header classes final?

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <01ca01c7036f$87ac55e0$0601a8c0@BEMBUSTER>
Hi David,

They are not all final, but in any case the public interfaces of this 
library are in javax.sip (and javax.sdp). The design is such that an 
application would only deal with those packages.

Which need do you have that it cannot be done using the public API?

Regards,
Jeroen

[email protected] wrote:
> Forgive me if this is a stupid question:  I'm new to java.
>
> Why are the header classes final?  I have a situation where
> I want to subclass the Contact header and modify its output
> slightly.  I don't see any way to do that other than to
> find a copy of the source file for Contact and modify _that_.
>
> Am I missing something obvious?
>
> --David
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.