Package | Description |
---|---|
com.sun.jersey.api |
Provides support for responses and exceptions.
|
com.sun.jersey.api.core |
Provides support for configuration.
|
com.sun.jersey.spi.container |
Provides support for containers and the web application that manages
resource classes.
|
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 |
ConflictException
A HTTP 409 (Conflict) exception.
|
class |
NotFoundException
A HTTP 404 (Not Found) exception.
|
class |
ParamException
An abstract extension of
WebApplicationException for the class of
parameter-based exceptions. |
static class |
ParamException.CookieParamException
A parameter exception for errors with
CookieParam . |
static class |
ParamException.FormParamException
A parameter exception for errors with
FormParam . |
static class |
ParamException.HeaderParamException
A parameter exception for errors with
HeaderParam . |
static class |
ParamException.MatrixParamException
A URI-parameter-based exception for errors with
MatrixParam . |
static class |
ParamException.PathParamException
A URI-parameter-based exception for errors with
PathParam . |
static class |
ParamException.QueryParamException
A URI-parameter-based exception for errors with
QueryParam . |
static class |
ParamException.URIParamException
An abstract parameter exception for the class of URI-parameter-based
exceptions.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
HttpRequestContext.getEntity(java.lang.Class<T> type)
Get the request entity, returns null if the request does not
contain an entity body.
|
<T> T |
HttpRequestContext.getEntity(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] as)
Get the request entity, returns null if the request does not
contain an entity body.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerResponse.mapWebApplicationException(WebApplicationException e)
Map a web application exception to a response.
|
void |
AdaptingContainerResponse.mapWebApplicationException(WebApplicationException e) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AdaptingContainerRequest.getEntity(java.lang.Class<T> type) |
<T> T |
AdaptingContainerRequest.getEntity(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] as) |
Modifier and Type | Method and Description |
---|---|
void |
StreamingOutput.write(java.io.OutputStream output)
Called to write the message body.
|
Modifier and Type | Method and Description |
---|---|
T |
MessageBodyReader.readFrom(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
Read a type from the
InputStream . |
void |
MessageBodyWriter.writeTo(T t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
Write a type to an HTTP response.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.