com.sun.jersey.core.header
Class MatchingEntityTag

java.lang.Object
  extended by javax.ws.rs.core.EntityTag
      extended by com.sun.jersey.core.header.MatchingEntityTag

public class MatchingEntityTag
extends EntityTag

A matching entity tag.

Note that this type and it's super type cannot be used to create request header values for If-Match and If-None-Match of the form If-Match: * or If-None-Match: * as * is not a valid entity tag.

Author:
[email protected]

Field Summary
static java.util.Set<MatchingEntityTag> ANY_MATCH
          An empty set that corresponds to If-Match: * or If-None-Match: *.
 
Constructor Summary
MatchingEntityTag(java.lang.String value)
           
MatchingEntityTag(java.lang.String value, boolean weak)
           
 
Method Summary
static MatchingEntityTag valueOf(HttpHeaderReader reader)
           
 
Methods inherited from class javax.ws.rs.core.EntityTag
equals, getValue, hashCode, isWeak, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY_MATCH

public static final java.util.Set<MatchingEntityTag> ANY_MATCH
An empty set that corresponds to If-Match: * or If-None-Match: *.

Constructor Detail

MatchingEntityTag

public MatchingEntityTag(java.lang.String value)

MatchingEntityTag

public MatchingEntityTag(java.lang.String value,
                         boolean weak)
Method Detail

valueOf

public static MatchingEntityTag valueOf(HttpHeaderReader reader)
                                 throws java.text.ParseException
Throws:
java.text.ParseException


Copyright © 2011 Oracle Corporation. All Rights Reserved.