org.xins.common.http
Interface HTTPStatusCodeVerifier


public interface HTTPStatusCodeVerifier

Abstraction of an HTTP status code verifier.

Since:
XINS 1.0.0
Version:
$Revision: 1.7 $ $Date: 2006/08/28 09:12:31 $
Author:
Ernst de Haan

Method Summary
 boolean isAcceptable(int code)
          Checks if the specified HTTP status code is considered acceptable or unacceptable.
 

Method Detail

isAcceptable

public boolean isAcceptable(int code)
Checks if the specified HTTP status code is considered acceptable or unacceptable.

Parameters:
code - the HTTP status code to check.
Returns:
true if the specified HTTP status code is considered acceptable, false otherwise.


See http://www.xins.org/.