JAIN SIP API
v1.1 - 23rd June 2003

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 is not currently defined by JAIN SIP. 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.


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, toString
 

Method Detail

setValue

public 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

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

Returns:
the string of the value parameter.

JAIN SIP API
v1.1 - 23rd June 2003

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing to the
JAIN-SIP-Interest list at http://archives.java.sun.com
Copyright - 2003 Sun Microsystems