javax.ws.rs.client
Interface ClientResponseFilter
public interface ClientResponseFilter
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.
- Since:
- 2.0
- Author:
- Marek Potociar, Santiago Pericas-Geertsen
- See Also:
ClientRequestFilter
filter
void filter(ClientRequestContext requestContext,
ClientResponseContext responseContext)
throws java.io.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 binding
priority (see BindingPriority).
- Parameters:
requestContext - request context.responseContext - response context.
- Throws:
java.io.IOException - if an I/O exception occurs.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.