|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Expires header field gives the relative time after which the message (or content) expires. The precise meaning of this is method dependent. The expiration time in an INVITE does not affect the duration of the actual session that may result from the invitation. Session description protocols may offer the ability to express time limits on the session duration, however. The value of this field is an integral number of seconds (in decimal) between 0 and (2**32)-1, measured from the receipt of the request. Malformed values SHOULD be treated as equivalent to 3600.
This interface represents the Expires entity-header. The ExpiresHeader is optional in both REGISTER and INVITE Requests.
Expires: 5
Field Summary | |
static java.lang.String |
NAME
Name of ExpiresHeader |
Method Summary | |
int |
getExpires()
Gets the expires value of the ExpiresHeader. |
void |
setExpires(int expires)
Sets the relative expires value of the ExpiresHeader. |
Methods inherited from interface javax.sip.header.Header |
clone, equals, getName, toString |
Field Detail |
public static final java.lang.String NAME
Method Detail |
public void setExpires(int expires) throws InvalidArgumentException
expires
- - the new expires value of this ExpiresHeader
InvalidArgumentException
- if supplied value is less than zero.public int getExpires()
|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |