Top Description Interfaces Annotations Classes
[default module]

Package javax.ws.rs.ext


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

Interface Summary

Modifier and TypeInterface and Description
public interface
ContextResolver<
type of the context
T
>

Contract for a provider that supplies context information to resource classes and other providers.

public interface
ExceptionMapper<
exception type supported by the provider.
E extends Throwable
>

Contract for a provider that maps Java exceptions to javax.ws.rs.core.Response.

public interface
InterceptorContext

Context shared by message body interceptors that can be used to wrap calls to javax.ws.rs.ext.MessageBodyReader#readFrom and javax.ws.rs.ext.MessageBodyWriter#writeTo.

public interface
MessageBodyReader<
Java type supported by the provider
T
>

Contract for a provider that supports the conversion of a stream to a Java type.

public interface
MessageBodyWriter<
the type that can be written.
T
>

Contract for a provider that supports the conversion of a Java type to a stream.

public interface
ParamConverter<
the supported Java type convertible to/from a String format.
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.

public interface
ParamConverterProvider

Contract for a provider of ParamConverter instances.

public interface
Providers

An injectable interface providing runtime lookup of provider instances.

public interface
ReaderInterceptor

Interface for message body reader interceptors that wrap around calls to javax.ws.rs.ext.MessageBodyReader#readFrom.

public interface
ReaderInterceptorContext

Context class used by javax.ws.rs.ext.ReaderInterceptor to intercept calls to (@link javax.ws.rs.ext.MessageBodyReader#readFrom}.

public interface
WriterInterceptor

Interface for message body writer interceptors that wrap around calls to javax.ws.rs.ext.MessageBodyWriter#writeTo.

public interface

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Provider

Marks an implementation of an extension interface that should be discoverable by JAX-RS runtime during a provider scanning phase.

Class Summary

Modifier and TypeClass and Description
pack-priv class
FactoryFinder

Factory finder utility class.

public abstract class
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.