org.javaswift.joss.command.impl.core.httpstatus
Class HttpStatusChecker

java.lang.Object
  extended by org.javaswift.joss.command.impl.core.httpstatus.HttpStatusChecker
Direct Known Subclasses:
HttpStatusFailCondition, HttpStatusSuccessCondition

public abstract class HttpStatusChecker
extends Object


Field Summary
static HttpStatusChecker AUTHORIZATION_MATCHER
           
static HttpStatusChecker FORBIDDEN_MATCHER
           
static org.slf4j.Logger LOG
           
 
Constructor Summary
HttpStatusChecker(HttpStatusMatcher matcher)
           
 
Method Summary
abstract  boolean isError()
           
 boolean isOk(int httpStatusCode)
           
static void verifyCode(HttpStatusChecker[] checkers, int httpStatusCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG

AUTHORIZATION_MATCHER

public static final HttpStatusChecker AUTHORIZATION_MATCHER

FORBIDDEN_MATCHER

public static final HttpStatusChecker FORBIDDEN_MATCHER
Constructor Detail

HttpStatusChecker

public HttpStatusChecker(HttpStatusMatcher matcher)
Method Detail

isError

public abstract boolean isError()

isOk

public boolean isOk(int httpStatusCode)

verifyCode

public static void verifyCode(HttpStatusChecker[] checkers,
                              int httpStatusCode)


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