Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unpublished - rights reserved under the Copyright Laws of the United States. Copyright � 2003 Sun Microsystems, Inc. All rights reserved. Copyright � 2005 BEA Systems, Inc. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Module Name : JSIP Specification File Name : SIPIfMatchHeader.java Author : Jeroen van Bemmel HISTORY Version Date Author Comments 1.1 27/10/2005 Jeroen van Bemmel Initial version, header to support RFC3903. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
package javax.sip.header;
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.

Author(s):
BEA Systems, NIST
Since:
1.2
public interface SIPIfMatchHeader extends Header {

    
Name of this header (no short form.
    public static final String NAME = "SIP-If-Match";

    
Returns the value of the entity-tag.

Returns:
the entity-tag
    public String getETag();

    
Sets the entity-tag

Parameters:
etag the new value of the entity-tag.
Throws:
java.text.ParseException if the ETag syntax is invalid (not a valid token)
    public void setETagString etag ) throws ParseException;
New to GrepCode? Check out our FAQ X