Package | Description |
---|---|
javax.ws.rs |
High-level interfaces and annotations used to create RESTful service
resources.
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
Modifier and Type | Method and Description |
---|---|
(package private) static Response |
WebApplicationException.validate(Response response,
Response.Status.Family expectedStatusFamily)
Validate that a
Response object has an expected HTTP response
status code set. |
Modifier and Type | Field and Description |
---|---|
private Response.Status.Family |
Response.Status.family |
Modifier and Type | Method and Description |
---|---|
static Response.Status.Family |
Response.Status.Family.familyOf(int statusCode)
Get the response status family for the status code.
|
Response.Status.Family |
Response.StatusType.getFamily()
Get the class of status code.
|
Response.Status.Family |
Response.Status.getFamily()
Get the class of status code.
|
static Response.Status.Family |
Response.Status.Family.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Response.Status.Family[] |
Response.Status.Family.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|