org.javaswift.joss.headers.object.conditional
Class IfMatch

java.lang.Object
  extended by org.javaswift.joss.headers.Header
      extended by org.javaswift.joss.headers.SimpleHeader
          extended by org.javaswift.joss.headers.object.conditional.AbstractIfMatch
              extended by org.javaswift.joss.headers.object.conditional.IfMatch

public class IfMatch
extends AbstractIfMatch


Field Summary
static String IF_MATCH
           
 
Constructor Summary
IfMatch(String value)
           
 
Method Summary
 String getHeaderName()
          Returns the header name that must be set in the request.
 void matchAgainst(String matchValue)
          Makes a check against the matchValue and throws an exception (with the proper HTTP status code) if the value means no content should be returned.
 
Methods inherited from class org.javaswift.joss.headers.SimpleHeader
getHeaderValue
 
Methods inherited from class org.javaswift.joss.headers.Header
convertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IF_MATCH

public static final String IF_MATCH
See Also:
Constant Field Values
Constructor Detail

IfMatch

public IfMatch(String value)
Method Detail

matchAgainst

public void matchAgainst(String matchValue)
Description copied from class: AbstractIfMatch
Makes a check against the matchValue and throws an exception (with the proper HTTP status code) if the value means no content should be returned.

Specified by:
matchAgainst in class AbstractIfMatch
Parameters:
matchValue - the value to match against

getHeaderName

public String getHeaderName()
Description copied from class: Header
Returns the header name that must be set in the request. Eg, "Range"

Specified by:
getHeaderName in class Header
Returns:
the name for the request header


Copyright © 2012-2014 42 BV. All Rights Reserved.