| |
|
| java.lang.Object gov.nist.core.GenericObject gov.nist.siplite.header.Header gov.nist.siplite.header.ParameterLessHeader gov.nist.siplite.header.ExpiresHeader
Method Summary | |
public String | encodeBody() Returns canonical form. | public int | getExpires() Gets the expires value of the ExpiresHeader. | public Object | getValue() Gets the value for the header as opaque object (returned value
will depend upon the header. | public void | setExpires(int expires) Sets the relative expires value of the ExpiresHeader. | public void | setHeaderValue(String value) Sets the header value field. |
NAME | final public static String NAME(Code) | | Expires header field label.
|
ExpiresHeader | public ExpiresHeader()(Code) | | Default constructor.
|
encodeBody | public String encodeBody()(Code) | | Returns canonical form.
String |
getExpires | public int getExpires()(Code) | | Gets the expires value of the ExpiresHeader. This expires value is
relative time.
the expires value of the ExpiresHeader. since: JAIN SIP v1.1 |
getValue | public Object getValue()(Code) | | Gets the value for the header as opaque object (returned value
will depend upon the header. Note that this is not the same as
the getHeaderValue above.
the expires header field value |
setExpires | public void setExpires(int expires) throws IllegalArgumentException(Code) | | Sets the relative expires value of the ExpiresHeader.
The expires value MUST be greater than zero and MUST be
less than 2**31.
Parameters: expires - - the new expires value of this ExpiresHeader throws: InvalidArgumentException - if supplied value is less than zero. since: JAIN SIP v1.1 |
Fields inherited from gov.nist.siplite.header.ParameterLessHeader | public static Class clazz(Code)(Java Doc)
|
|
|
|