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.
|
javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.filter |
Jersey Request & Response Filtering support & utility classes.
|
org.glassfish.jersey.media.htmljson |
Jersey package with entity provider that allows usage of
net.java.html.json . |
org.glassfish.jersey.message |
Common Jersey messaging classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.oauth1 |
Jersey OAuth 1 Server API.
|
org.glassfish.jersey.spi |
Common Jersey service provider contract (SPI) classes.
|
Modifier and Type | Class and Description |
---|---|
class |
BadRequestException
A runtime exception indicating a
bad client request . |
class |
ClientErrorException
A base runtime application exception indicating a client request error
(HTTP
4xx status codes). |
class |
ForbiddenException
A runtime exception indicating that an access to a resource requested by
a client has been
forbidden
by the server. |
class |
InternalServerErrorException
A runtime exception indicating an
internal server error . |
class |
NotAcceptableException
A runtime exception indicating that a client request is
not acceptable
by the server. |
class |
NotAllowedException
A runtime exception indicating a client requesting a resource method that is
not allowed . |
class |
NotAuthorizedException
A runtime exception indicating request authorization failure caused by one of the following
scenarios:
a client did not send the required authorization credentials to access the requested resource,
i.e.
|
class |
NotFoundException
A runtime exception indicating a resource requested by a client was
not found on the server. |
class |
NotSupportedException
A runtime exception indicating that the client request entity media type is
not supported . |
class |
RedirectionException
A runtime application exception indicating a request redirection
(HTTP
3xx status codes). |
class |
ServerErrorException
A base runtime application exception indicating a server error
(HTTP
5xx status codes). |
class |
ServiceUnavailableException
A runtime exception indicating that the requested resource
cannot be served . |
Modifier and Type | Method and Description |
---|---|
void |
StreamingOutput.write(OutputStream output)
Called to write the message body.
|
Modifier and Type | Method and Description |
---|---|
Object |
ReaderInterceptor.aroundReadFrom(ReaderInterceptorContext context)
|
void |
WriterInterceptor.aroundWriteTo(WriterInterceptorContext context)
|
Object |
ReaderInterceptorContext.proceed()
Proceed to the next interceptor in the chain.
|
void |
WriterInterceptorContext.proceed()
Proceed to the next interceptor in the chain.
|
T |
MessageBodyReader.readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Read a type from the
InputStream . |
void |
MessageBodyWriter.writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Write a type to an HTTP message.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
JerseyInvocation.Builder.delete(Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.delete(GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.get(Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.get(GenericType<T> responseType) |
Response |
JerseyInvocation.invoke() |
<T> T |
JerseyInvocation.invoke(Class<T> responseType) |
<T> T |
JerseyInvocation.invoke(GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
Entity<?> entity,
Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
Entity<?> entity,
GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.options(Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.options(GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.post(Entity<?> entity,
Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.post(Entity<?> entity,
GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.put(Entity<?> entity,
Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.put(Entity<?> entity,
GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.trace(Class<T> responseType) |
<T> T |
JerseyInvocation.Builder.trace(GenericType<T> responseType) |
Modifier and Type | Method and Description |
---|---|
void |
LoggingFilter.aroundWriteTo(WriterInterceptorContext writerInterceptorContext) |
Modifier and Type | Method and Description |
---|---|
Object |
HtmlJsonProvider.readFrom(Class<Object> clazz,
Type type,
Annotation[] antns,
MediaType mt,
MultivaluedMap<String,String> mm,
InputStream in) |
void |
HtmlJsonProvider.writeTo(Object t,
Class type,
Type type1,
Annotation[] antns,
MediaType mt,
MultivaluedMap mm,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
Object |
MessageBodyWorkers.readFrom(Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
InputStream entityStream,
Iterable<ReaderInterceptor> readerInterceptors,
boolean translateNce)
Reads a type from the
entityStream using interceptors. |
OutputStream |
MessageBodyWorkers.writeTo(Object entity,
Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
Iterable<WriterInterceptor> writerInterceptors)
Writers a type to the
entityStream using interceptors. |
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
void |
ChunkedResponseWriter.writeTo(ChunkedOutput<?> chunkedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Class and Description |
---|---|
class |
OAuth1Exception
Web application exception that is mapped either
to Response.Status.BAD_REQUEST (e.g. |
Modifier and Type | Method and Description |
---|---|
Object |
ContentEncoder.aroundReadFrom(ReaderInterceptorContext context) |
void |
ContentEncoder.aroundWriteTo(WriterInterceptorContext context) |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.