public interface ClientResponseFilter
@Provider to be
discovered by the JAX-RS runtime. This type of filters is supported only as part of the Client API.ClientRequestFilter| Modifier and Type | Method and Description |
|---|---|
void |
filter(ClientRequestContext requestContext,
ClientResponseContext responseContext)
Filter method called after a response has been provided for a request (either by a
request
filter or when the HTTP invocation returns). |
void filter(ClientRequestContext requestContext, ClientResponseContext responseContext) throws IOException
request
filter or when the HTTP invocation returns).
Filters in the filter chain are ordered according to their jakarta.annotation.Priority class-level annotation
value.requestContext - request context.responseContext - response context.IOException - if an I/O exception occurs.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.