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.message |
Common Jersey messaging classes.
|
org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.internal |
Jersey server-side internal classes.
|
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)
|
void |
WriterInterceptorContext.proceed()
Proceed to the next interceptor in the chain.
|
Object |
ReaderInterceptorContext.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 |
MessageBodyWorkers.readFrom(Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
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,
PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
Iterable<WriterInterceptor> writerInterceptors)
Writers a type to the
entityStream using interceptors. |
Modifier and Type | Method and Description |
---|---|
Object |
MessageBodyFactory.readFrom(Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
PropertiesDelegate propertiesDelegate,
InputStream entityStream,
Iterable<ReaderInterceptor> readerInterceptors,
boolean translateNce) |
void |
XmlRootObjectJaxbProvider.writeTo(Object arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream arg6) |
OutputStream |
MessageBodyFactory.writeTo(Object t,
Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
Iterable<WriterInterceptor> writerInterceptors) |
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 | Method and Description |
---|---|
Object |
MappableExceptionWrapperInterceptor.aroundReadFrom(ReaderInterceptorContext context) |
void |
JsonWithPaddingInterceptor.aroundWriteTo(WriterInterceptorContext context) |
void |
MappableExceptionWrapperInterceptor.aroundWriteTo(WriterInterceptorContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
ContentEncoder.aroundReadFrom(ReaderInterceptorContext context) |
void |
ContentEncoder.aroundWriteTo(WriterInterceptorContext context) |
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.