public static interface Response.StatusType
Modifier and Type | Method and Description |
---|---|
Response.Status.Family |
getFamily()
Get the class of status code.
|
java.lang.String |
getReasonPhrase()
Get the reason phrase.
|
int |
getStatusCode()
Get the associated status code.
|
default Response.Status |
toEnum()
Get the this Status Type as a
Response.Status . |
int getStatusCode()
Response.Status.Family getFamily()
java.lang.String getReasonPhrase()
default Response.Status toEnum()
Response.Status
.
Please note that returned status contains only a status code, the reason phrase is set to default one (corresponding to the status code).
Response.Status
representing this status type.