JSIP API v1.2
November 2006

javax.sip.header
Interface ExtensionHeader

All Superinterfaces:
java.lang.Cloneable, Header, java.io.Serializable

public interface ExtensionHeader
extends Header

This interface represents an Extension SIP header that was not defined at the baseline of this specification. Extension Headers can be added as required by extending this interface assuming other endpoints understand the Header. Any Header that extends this class must define a "NAME" String constant identifying the name of the extension Header. A server must ignore Headers that it does not understand. A proxy must not remove or modify Headers that it does not understand. Implementation note : The implementation of any new headers added since version 1.1 of this specification SHOULD implement ExtensionHeader for backwards compatibility (even if these headers are defined in the current version of this specification). Headers that are not part of the current version of this specification MUST implement ExtensionHeader.

Author:
BEA Systems, NIST

Method Summary
 java.lang.String getValue()
          Gets the value of the ExtensionHeader.
 void setValue(java.lang.String value)
          Sets the value parameter of the ExtensionHeader.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, hashCode, toString
 

Method Detail

setValue

void setValue(java.lang.String value)
              throws java.text.ParseException
Sets the value parameter of the ExtensionHeader.

Parameters:
value - - the new value of the ExtensionHeader
Throws:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the value parameter.

getValue

java.lang.String getValue()
Gets the value of the ExtensionHeader.

Returns:
the string of the value parameter.

JSIP API v1.2
November 2006

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems