|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AllowHeader
The Allow header field lists the set of methods supported by the User Agent generating the message. All methods, including ACK and CANCEL, understood by the User Agent MUST be included in the list of methods in the Allow header field, when present. The absence of an Allow header field MUST NOT be interpreted to mean that the User Agent sending the message supports no methods. Rather, it implies that the User Agent is not providing any information on what methods it supports. Supplying an Allow header field in responses to methods other than OPTIONS reduces the number of messages needed.
For Example:
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE
Field Summary | |
---|---|
static java.lang.String |
NAME
Name of AllowHeader |
Method Summary | |
---|---|
java.lang.String |
getMethod()
Gets the method of the AllowHeader. |
void |
setMethod(java.lang.String method)
Sets the Allow header value. |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
void setMethod(java.lang.String method) throws java.text.ParseException
method
- - the String defining the method supported
in this AllowHeader
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method supported.java.lang.String getMethod()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |