protected abstract static class StatusCodes.HttpFailure extends StatusCode
Constructor and Description |
---|
HttpFailure() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsEntity()
Returns if a response with this status-code is allowed to be accompanied with a non-empty
entity.
|
boolean |
isFailure()
Returns if the status-code represents failure.
|
boolean |
isRedirection()
Returns if the status-code is a redirection status code.
|
boolean |
isSuccess()
Returns if the status-code represents success.
|
defaultMessage, int2StatusCode, intValue, reason, value
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render, toString, valueBytes
public boolean allowsEntity()
StatusCode
allowsEntity
in class StatusCode
public boolean isFailure()
StatusCode
isFailure
in class StatusCode
public boolean isRedirection()
StatusCode
isRedirection
in class StatusCode
public boolean isSuccess()
StatusCode
isSuccess
in class StatusCode