See: Description
Interface | Description |
---|---|
AsyncInvocationInterceptor |
Implementations of this interface can intercept asynchronous method
invocations.
|
AsyncInvocationInterceptorFactory |
This is a provider interface intended for intercepting asynchronous method
invocations.
|
ClientHeadersFactory |
This interface is intended for generating or propagating HTTP headers.
|
ResponseExceptionMapper<T extends java.lang.Throwable> |
Converts an JAX-RS Response object into an Exception.
|
Class | Description |
---|---|
DefaultClientHeadersFactoryImpl |
This class propagates JAX-RS headers whose names are specified using the
MicroProfile Config property,
org.eclipse.microprofile.rest.client.propagateHeaders . |
Enum | Description |
---|---|
QueryParamStyle |
A QueryParamStyle enum is used to specify how multiple values are handled
when constructing the query portion of the URI.
|
@RegisterProvider(UnknownWidgetExceptionMapper.class) public interface MyClientService { @GET @Path("/myService/{id}") Widget getWidget(@PathParam("id") String id) throws UnknownWidgetException; } ... public class UnknownWidgetExceptionMapper implements ResponseExceptionMapper { @Override UnknownWidgetException toThrowable(Response response) { String msg = "Could not find widget with ID of " + response.getHeaderString("WidgetId"); return new UnknownWidgetException(msg) } }