protected abstract static class StatusCodes.HttpSuccess extends StatusCode
Constructor and Description |
---|
HttpSuccess() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFailure()
Returns if the status-code represents failure.
|
boolean |
isSuccess()
Returns if the status-code represents success.
|
allowsEntity, defaultMessage, int2StatusCode, intValue, isRedirection, reason, value
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render, toString, valueBytes
public boolean isFailure()
StatusCode
isFailure
in class StatusCode
public boolean isSuccess()
StatusCode
isSuccess
in class StatusCode