|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SIPETagHeader
This interface represents the SIP-ETag header, as defined by RFC3903.
The SIP-ETag header is used by a server (event state collector) in a 2xx
response to PUBLISH in order to convey a unique entity tag for the published
state. The client may then use this tag in a
SIPIfMatchHeader
to update previously published
state.
Sample syntax:SIP-ETag: dx200xyz
A server must ignore Headers that it does not understand. A proxy must not remove or modify Headers that it does not understand.
Field Summary | |
---|---|
static String |
NAME
Name of this header (no short form). |
Method Summary | |
---|---|
String |
getETag()
Returns the value of the entity-tag. |
void |
setETag(String etag)
Sets the entity-tag value of this header. |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final String NAME
Method Detail |
---|
String getETag()
void setETag(String etag) throws ParseException
etag
- the new value of the entity-tag
ParseException
- if the ETag syntax is invalid (not a valid token)
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |