jain.protocol.ip.sip.header
Class ProxyRequireHeader

java.lang.Object
  |
  +--jain.protocol.ip.sip.header.Header
        |
        +--jain.protocol.ip.sip.header.RequestHeader
              |
              +--jain.protocol.ip.sip.header.ProxyRequireHeader

public final class ProxyRequireHeader
extends RequestHeader

This class represents the Proxy-Require request-header. The ProxyRequireHeader is used to indicate proxy-sensitive features that must be supported by the proxy. Any ProxyRequireHeader features that are not supported by the proxy must be negatively acknowledged by the proxy to the client if not supported. Proxy servers treat this field identically to the RequireHeader.

Version:
0.6
See Also:
RequireHeader

Field Summary
static java.lang.String token
          Token of ProxyRequireHeader
 
Fields inherited from class jain.protocol.ip.sip.header.Header
ENTITY_HEADER, GENERAL_HEADER, REQUEST_HEADER, RESPONSE_HEADER
 
Constructor Summary
ProxyRequireHeader(java.lang.String optionTag)
          Creates a ProxyRequireHeader based on given option tag
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of ProxyRequireHeader
 boolean equals(ProxyRequireHeader proxyRequireHeader)
          Indicates whether some other ProxyRequireHeader is "equal to" this one
 java.lang.String getOptionTag()
          Gets option tag of ProxyRequireHeader
 java.lang.String getValue()
          Gets value of ProxyRequireHeader
 void setOptionTag(java.lang.String optionTag)
          Sets option tag of ProxyRequireHeader
 
Methods inherited from class jain.protocol.ip.sip.header.Header
equals, getHeaderType, getToken, setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

token

public static final java.lang.String token
Token of ProxyRequireHeader
Constructor Detail

ProxyRequireHeader

public ProxyRequireHeader(java.lang.String optionTag)
                   throws java.lang.IllegalArgumentException
Creates a ProxyRequireHeader based on given option tag
Parameters:
optionTag - option tag
Throws:
java.lang.IllegalArgumentException - if optionTag is null or zero-length
Method Detail

getOptionTag

public java.lang.String getOptionTag()
Gets option tag of ProxyRequireHeader
Returns:
option tag of ProxyRequireHeader

setOptionTag

public void setOptionTag(java.lang.String optionTag)
                  throws java.lang.IllegalArgumentException
Sets option tag of ProxyRequireHeader
Parameters:
optionTag - option tag
Throws:
java.lang.IllegalArgumentException - if optionTag is null or zero-length

getValue

public java.lang.String getValue()
Gets value of ProxyRequireHeader
Overrides:
getValue in class Header
Returns:
value of ProxyRequireHeader

clone

public java.lang.Object clone()
Creates and returns a copy of ProxyRequireHeader
Overrides:
clone in class Header

equals

public boolean equals(ProxyRequireHeader proxyRequireHeader)
Indicates whether some other ProxyRequireHeader is "equal to" this one
Parameters:
proxyRequireHeader - the ProxyRequireHeader with which to compare


If you have any comments or queries, please mail them to JAIN-SIP-interest@sun.com


Copyright - 2000 Sun Microsystems