|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SIPIfMatchHeader
This interface represents the SIP-If-Match header, as defined by RFC3903.
The SIP-If-Match header is used by a client (event state publisher) in
a PUBLISH request, to update previously published event state. The value is
obtained from the server in a SIPETagHeader
in a
2xx response to a previous PUBLISH.
Sample syntax:SIP-If-Match: 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 java.lang.String |
NAME
Name of this header (no short form. |
Method Summary | |
---|---|
java.lang.String |
getETag()
Returns the value of the entity-tag. |
void |
setETag(java.lang.String etag)
Sets the entity-tag |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
java.lang.String getETag()
void setETag(java.lang.String etag) throws java.text.ParseException
etag
- the new value of the entity-tag.
java.text.ParseException
- if the ETag syntax is invalid (not a valid token)
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |