Package jakarta.ws.rs.client
Interface ClientResponseFilter
-
public interface ClientResponseFilterAn extension interface implemented by client response filters. Filters implementing this interface MUST be annotated with@Providerto be discovered by the JAX-RS runtime. 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfilter(ClientRequestContext requestContext, ClientResponseContext responseContext)Filter method called after a response has been provided for a request (either by arequest filteror when the HTTP invocation returns).
-
-
-
Method Detail
-
filter
void filter(ClientRequestContext requestContext, ClientResponseContext responseContext) throws IOException
Filter method called after a response has been provided for a request (either by arequest filteror when the HTTP invocation returns). Filters in the filter chain are ordered according to theirjakarta.annotation.Priorityclass-level annotation value.- Parameters:
requestContext- request context.responseContext- response context.- Throws:
IOException- if an I/O exception occurs.
-
-