Response.Statuspublic static interface Response.StatusType
| Modifier and Type | Method | Description |
|---|---|---|
Response.Status.Family |
getFamily() |
Get the class of status code.
|
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()
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.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved.