Package | Description |
---|---|
com.sun.jersey.api |
Provides support for responses and exceptions.
|
com.sun.jersey.api.client |
Provides support for client-side communication with HTTP-based
RESTful Web services.
|
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 |
---|---|
B |
JResponse.AJResponseBuilder.status(Response.Status status)
Set the status.
|
static <E> JResponse.JResponseBuilder<E> |
JResponse.status(Response.Status status)
Create a new
JResponse.JResponseBuilder with the supplied status. |
Modifier and Type | Method and Description |
---|---|
Response.Status |
ClientResponse.getResponseStatus()
Deprecated.
|
Constructor and Description |
---|
WebApplicationException(Response.Status status)
Construct a new instance with a blank message and specified HTTP status code
|
WebApplicationException(java.lang.Throwable cause,
Response.Status status)
Construct a new instance with a blank message and specified HTTP status code
|
Modifier and Type | Method and Description |
---|---|
static Response.Status |
Response.Status.fromStatusCode(int statusCode)
Convert a numerical status code into the corresponding Status
|
static Response.Status |
Response.Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Response.Status[] |
Response.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Response.ResponseBuilder |
Response.status(Response.Status status)
Create a new ResponseBuilder with the supplied status.
|
Response.ResponseBuilder |
Response.ResponseBuilder.status(Response.Status status)
Set the status on the ResponseBuilder.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.