Package javax.ws.rs.ext
package javax.ws.rs.ext
APIs that provide extensions to the types supported by the 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.Factory finder utility class.Context shared by message body interceptors that can be used to wrap calls toMessageBodyReader.readFrom(Class, Type, Annotation[], MediaType, MultivaluedMap, InputStream)andMessageBodyWriter.writeTo(T, Class, Type, Annotation[], MediaType, MultivaluedMap, 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 aStringform of a message parameter value and the corresponding custom Java typeT.Mandates that a conversion of anydefault valuedelegated to aparameter converterannotated with@Lazyannotation SHOULD occur only once the value is actually required (e.g.Contract for a provider ofParamConverterinstances.Marks an implementation of an extension interface that should be discoverable by the 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(Class, Type, Annotation[], MediaType, MultivaluedMap, InputStream).Context class used byReaderInterceptorto intercept calls to (@link javax.ws.rs.ext.MessageBodyReader#readFrom}.Implementations of this API provide a concrete subclass of RuntimeDelegate and various 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 typeT.Interface for message body writer interceptors that wrap around calls toMessageBodyWriter.writeTo(T, Class, Type, Annotation[], MediaType, MultivaluedMap, OutputStream).Context class used byWriterInterceptorto intercept calls toMessageBodyWriter.writeTo(T, Class, Type, Annotation[], MediaType, MultivaluedMap, OutputStream).