Package javax.ws.rs.ext

APIs that provide extensions to the types supported by the JAX-RS API.

See:
          Description

Interface Summary
ContextResolver<T> Contract 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.
InterceptorContext Context shared by message body interceptors that can be used to wrap calls to MessageBodyReader.readFrom(java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.InputStream) and MessageBodyWriter.writeTo(T, java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.OutputStream).
MessageBodyReader<T> Contract for a provider that supports the conversion of a stream to a Java type.
MessageBodyWriter<T> Contract for a provider that supports the conversion of a Java type to a stream.
ParamConverter<T> Defines a contract for a delegate responsible for converting between a String form of a message parameter value and the corresponding custom Java type T.
ParamConverterProvider Contract for a provider of ParamConverter instances.
Providers An injectable interface providing runtime lookup of provider instances.
ReaderInterceptor Interface for message body reader interceptors that wrap around calls to MessageBodyReader.readFrom(java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.InputStream).
ReaderInterceptorContext Context class used by ReaderInterceptor to intercept calls to (@link javax.ws.rs.ext.MessageBodyReader#readFrom}.
RuntimeDelegate.HeaderDelegate<T> Defines the contract for a delegate that is responsible for converting between the String form of a HTTP header and the corresponding JAX-RS type T.
WriterInterceptor Interface for message body writer interceptors that wrap around calls to MessageBodyWriter.writeTo(T, java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.OutputStream).
WriterInterceptorContext Context class used by WriterInterceptor to intercept calls to MessageBodyWriter.writeTo(T, java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.OutputStream).
 

Class Summary
RuntimeDelegate Implementations of JAX-RS provide a concrete subclass of RuntimeDelegate and various JAX-RS API methods defer to methods of RuntimeDelegate for their functionality.
 

Annotation Types Summary
ParamConverter.Lazy Mandates that a conversion of any default value delegated to a parameter converter annotated with &#64;Lazy annotation SHOULD occur only once the value is actually required (e.g.
Provider Marks an implementation of an extension interface that should be discoverable by JAX-RS runtime during a provider scanning phase.
 

Package javax.ws.rs.ext Description

APIs that provide extensions to the types supported by the JAX-RS API.



Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.