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

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
Direct Known Subclasses:
IfMatch, IfNoneMatch

public abstract class AbstractIfMatch
extends SimpleHeader


Constructor Summary
AbstractIfMatch(String value)
           
 
Method Summary
abstract  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, getHeaderName, getResponseHeadersStartingWith, headerNotEmpty, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIfMatch

public AbstractIfMatch(String value)
Method Detail

matchAgainst

public abstract 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.

Parameters:
matchValue - the value to match against


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