Package javax.ws.rs.ext
package javax.ws.rs.ext
APIs that provide extensions to the types supported by the JAX-RS API.
-
ClassDescriptionContract for a provider that supplies context information to resource classes and other providers.ExceptionMapper<E extends Throwable>Contract for a provider that maps Java exceptions to
Response
.Context shared by message body interceptors that can be used to wrap calls toMessageBodyReader.readFrom(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream)
andMessageBodyWriter.writeTo(T, java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, java.io.OutputStream)
.Contract for a provider that supports the conversion of a stream to a Java type.Contract for a provider that supports the conversion of a Java type to a stream.Defines a contract for a delegate responsible for converting between aString
form of a message parameter value and the corresponding custom Java typeT
.Mandates that a conversion of anydefault value
delegated to aparameter converter
annotated with@Lazy
annotation SHOULD occur only once the value is actually required (e.g.Contract for a provider ofParamConverter
instances.Marks an implementation of an extension interface that should be discoverable by JAX-RS runtime during a provider scanning phase.An injectable interface providing runtime lookup of provider instances.Interface for message body reader interceptors that wrap around calls toMessageBodyReader.readFrom(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream)
.Context class used byReaderInterceptor
to intercept calls to (@link javax.ws.rs.ext.MessageBodyReader#readFrom}.Implementations of JAX-RS provide a concrete subclass of RuntimeDelegate and various JAX-RS API methods defer to methods of RuntimeDelegate for their functionality.Defines the contract for a delegate that is responsible for converting between the String form of a HTTP header and the corresponding JAX-RS typeT
.Interface for message body writer interceptors that wrap around calls toMessageBodyWriter.writeTo(T, java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, java.io.OutputStream)
.