Top Description Methods
javax.ws.rs.client

public Interface ClientResponseFilter

Imports
java.io.IOException

An extension interface implemented by client response filters. Filters implementing this interface MUST be annotated with @Provider. This type of filters is supported only as part of the Client API.
Authors
Marek Potociar, Santiago Pericas-Geertsen
Since
2.0
See Also
javax.ws.rs.client.ClientRequestFilter

Method Summary

Modifier and TypeMethod and Description
public void
filter(ClientRequestContext
request context.
requestContext
,
ClientResponseContext
response context.
responseContext
)

Filter method called after a response has been provided for a request (either by a request filter or when the HTTP invocation returns.

Method Detail

filterback to summary
public void filter(ClientRequestContext requestContext, ClientResponseContext responseContext) throws IOException

Filter method called after a response has been provided for a request (either by a request filter or when the HTTP invocation returns. Filters in the filter chain are ordered according to their javax.annotation.Priority class-level annotation value.

Parameters
requestContext:ClientRequestContext

request context.

responseContext:ClientResponseContext

response context.

Exceptions
IOException:
if an I/O exception occurs.