NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

javax.sip.header
Interface ExtensionHeader

All Superinterfaces:
Cloneable, Header, Serializable
All Known Subinterfaces:
SessionExpiresHeader
All Known Implementing Classes:
ExtensionHeaderImpl, Join, MinSE, PAccessNetworkInfo, PAssertedIdentity, PAssertedService, PAssociatedURI, Path, PCalledPartyID, PChargingFunctionAddresses, PChargingVector, PMediaAuthorization, PPreferredIdentity, PPreferredService, PProfileKey, Privacy, PServedUser, PUserDatabase, PVisitedNetworkID, ReferredBy, Replaces, SecurityClient, SecurityServer, SecurityVerify, ServiceRoute, SessionExpires, SIPETag, SIPIfMatch

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.

Version:
1.2
Author:
BEA Systems, NIST

Method Summary
 String getValue()
          Gets the value of the ExtensionHeader.
 void setValue(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(String value)
              throws ParseException
Sets the value parameter of the ExtensionHeader.

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

getValue

String getValue()
Gets the value of the ExtensionHeader.

Returns:
the string of the value parameter.

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.