| Package | Description |
|---|---|
| com.sun.jersey.api |
Provides support for responses and exceptions.
|
| com.sun.jersey.api.core |
Provides support for configuration.
|
| com.sun.jersey.core.spi.factory |
Provides support for factories of particular component types.
|
| com.sun.jersey.spi.container |
Provides support for containers and the web application that manages
resource classes.
|
| 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.
|
| javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JResponseAsResponse
An adaption of
JResponse as a Response. |
| Modifier and Type | Method and Description |
|---|---|
static <E> JResponse.JResponseBuilder<E> |
JResponse.fromResponse(Response response)
Create a new
JResponse.JResponseBuilder by performing a shallow copy of an
existing Response. |
| Modifier and Type | Method and Description |
|---|---|
Response |
HttpResponseContext.getResponse()
Get the response that was set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpResponseContext.setResponse(Response response)
Set the response state from a Response instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ResponseImpl
An implementation of
Response. |
| Modifier and Type | Method and Description |
|---|---|
Response |
ResponseBuilderImpl.build() |
| Modifier and Type | Method and Description |
|---|---|
Response |
ContainerResponse.getResponse() |
Response |
AdaptingContainerResponse.getResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerResponse.setResponse(Response response) |
void |
AdaptingContainerResponse.setResponse(Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
WebApplicationException.getResponse()
Get the HTTP response.
|
| Constructor and Description |
|---|
WebApplicationException(Response response)
Construct a new instance using the supplied response
|
WebApplicationException(java.lang.Throwable cause,
Response response)
Construct a new instance using the supplied response
|
| Modifier and Type | Method and Description |
|---|---|
abstract Response |
Response.ResponseBuilder.build()
Create a Response instance from the current ResponseBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
static Response.ResponseBuilder |
Response.fromResponse(Response response)
Create a new ResponseBuilder by performing a shallow copy of an
existing Response.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
ExceptionMapper.toResponse(E exception)
Map an exception to a
Response. |
Copyright © 2016 Oracle Corporation. All Rights Reserved.