public abstract class StatusCode
extends java.lang.Object
StatusCodes for the set of predefined
 status-codes.| Constructor and Description | 
|---|
| StatusCode() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | allowsEntity()Returns if a response with this status-code is allowed to be accompanied with a non-empty
 entity. | 
| abstract java.lang.String | defaultMessage()Returns the default message to be included as the content of an Http response with this
 status-code. | 
| abstract int | intValue()Returns the numeric code of this status code. | 
| abstract boolean | isFailure()Returns if the status-code represents failure. | 
| abstract boolean | isRedirection()Returns if the status-code is a redirection status code. | 
| abstract boolean | isSuccess()Returns if the status-code represents success. | 
| abstract java.lang.String | reason()Returns the reason message for this status code. | 
public abstract int intValue()
public abstract java.lang.String reason()
public abstract java.lang.String defaultMessage()
public abstract boolean isSuccess()
public abstract boolean isFailure()
public abstract boolean allowsEntity()
public abstract boolean isRedirection()