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.jboss.resteasy.core | |
org.jboss.resteasy.core.interception | |
org.jboss.resteasy.plugins.interceptors.encoding | |
org.jboss.resteasy.plugins.providers | |
org.jboss.resteasy.plugins.providers.atom | |
org.jboss.resteasy.plugins.providers.jackson | |
org.jboss.resteasy.plugins.providers.jaxb | |
org.jboss.resteasy.plugins.providers.jaxb.json | |
org.jboss.resteasy.plugins.providers.jsonp | |
org.jboss.resteasy.plugins.providers.multipart | |
org.jboss.resteasy.spi | |
org.jboss.resteasy.spi.interception |
JAX-RS specification 1.1 (https://jcp.org/en/jsr/detail?id=311)
had no interceptor framework, so Resteasy release 2.x provided one.
|
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 |
---|---|
protected Response |
ExceptionHandler.handleWebApplicationException(WebApplicationException wae) |
Modifier and Type | Method and Description |
---|---|
Object |
ConstructorInjectorImpl.construct(HttpRequest request,
HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
Object |
ReaderInterceptorRegistry.ReaderInterceptorFacade.aroundReadFrom(ReaderInterceptorContext readerInterceptorContext) |
void |
WriterInterceptorRegistry.WriterInterceptorFacade.aroundWriteTo(WriterInterceptorContext writerInterceptorContext) |
void |
AbstractWriterInterceptorContext.proceed() |
Modifier and Type | Method and Description |
---|---|
Object |
GZIPDecodingInterceptor.aroundReadFrom(ReaderInterceptorContext context) |
void |
ServerContentEncodingAnnotationFilter.aroundWriteTo(WriterInterceptorContext context) |
void |
GZIPEncodingInterceptor.aroundWriteTo(WriterInterceptorContext context) |
void |
ClientContentEncodingAnnotationFilter.aroundWriteTo(WriterInterceptorContext context) |
Modifier and Type | Class and Description |
---|---|
class |
FileRangeException |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentProvider.readFrom(Class<Document> clazz,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream input) |
Form |
JaxrsFormProvider.readFrom(Class<Form> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Serializable |
SerializableProvider.readFrom(Class<Serializable> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Deprecated.
|
Object |
DefaultTextPlain.readFrom(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
InputStream entityStream) |
void |
DocumentProvider.writeTo(Document document,
Class<?> clazz,
Type type,
Annotation[] annotation,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream output) |
void |
FileRangeWriter.writeTo(FileRange fileRange,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JaxrsFormProvider.writeTo(Form form,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
DefaultNumberWriter.writeTo(Number n,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
DefaultTextPlain.writeTo(Object o,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
OutputStream entityStream) |
void |
SerializableProvider.writeTo(Serializable t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Entry |
AtomEntryProvider.readFrom(Class<Entry> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Feed |
AtomFeedProvider.readFrom(Class<Feed> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
AtomEntryProvider.writeTo(Entry entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
AtomFeedProvider.writeTo(Feed feed,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
void |
JacksonJsonpInterceptor.aroundWriteTo(WriterInterceptorContext context)
Deprecated.
|
void |
Jackson2JsonpInterceptor.aroundWriteTo(WriterInterceptorContext context)
|
Modifier and Type | Method and Description |
---|---|
Object |
MapProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
CollectionProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
MapProvider.writeTo(Object target,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
CollectionProvider.writeTo(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
Object |
JsonMapProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
JsonCollectionProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonMapProvider.writeTo(Object target,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonCollectionProvider.writeTo(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
javax.json.JsonArray |
JsonArrayProvider.readFrom(Class<javax.json.JsonArray> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
javax.json.JsonObject |
JsonObjectProvider.readFrom(Class<javax.json.JsonObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
javax.json.JsonStructure |
JsonStructureProvider.readFrom(Class<javax.json.JsonStructure> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonArrayProvider.writeTo(javax.json.JsonArray jsonValues,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonObjectProvider.writeTo(javax.json.JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonStructureProvider.writeTo(javax.json.JsonStructure jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
List<?> |
ListMultipartReader.readFrom(Class<List<?>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Map<?,?> |
MapMultipartFormDataReader.readFrom(Class<Map<?,?>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultipartFormDataInput |
MultipartFormDataReader.readFrom(Class<MultipartFormDataInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultipartInput |
MultipartReader.readFrom(Class<MultipartInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultipartRelatedInput |
MultipartRelatedReader.readFrom(Class<MultipartRelatedInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
XopWithMultipartRelatedReader.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
MultipartFormAnnotationReader.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
protected void |
AbstractMultipartRelatedWriter.writeRelated(MultipartRelatedOutput multipartRelatedOutput,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
ListMultipartWriter.writeTo(List<Object> list,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MapMultipartFormDataWriter.writeTo(Map<String,Object> map,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartFormDataWriter.writeTo(MultipartFormDataOutput multipartFormDataOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartWriter.writeTo(MultipartOutput multipartOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartRelatedWriter.writeTo(MultipartRelatedOutput multipartRelatedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
XopWithMultipartRelatedWriter.writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartFormAnnotationWriter.writeTo(Object obj,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Class and Description |
---|---|
class |
NoLogWebApplicationException
WebApplicationExceptions are logged by RESTEasy.
|
Modifier and Type | Method and Description |
---|---|
Object |
ConstructorInjector.construct(HttpRequest request,
HttpResponse response)
construct inside the scope of an HTTP request.
|
void |
PropertyInjector.inject(HttpRequest request,
HttpResponse response,
Object target)
Inject values into annotated properties (fields/setter methods) of the target object.
|
Modifier and Type | Method and Description |
---|---|
ServerResponse |
PreProcessInterceptor.preProcess(HttpRequest request,
ResourceMethodInvoker method)
Deprecated.
Preprocess resource method invocation
|
void |
MessageBodyWriterContext.proceed()
Deprecated.
|
Object |
MessageBodyReaderContext.proceed()
Deprecated.
|
Object |
MessageBodyReaderInterceptor.read(MessageBodyReaderContext context)
Deprecated.
|
void |
MessageBodyWriterInterceptor.write(MessageBodyWriterContext context)
Deprecated.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.