Interface ClientResponseFilter

  • public interface ClientResponseFilter
    An extension interface implemented by client response filters. Filters implementing this interface MUST be annotated with @Provider to be discovered by the JAX-RS runtime. This type of filters is supported only as part of the Client API.
    See Also:
    • Method Detail

      • filter

        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). Filters in the filter chain are ordered according to their jakarta.annotation.Priority class-level annotation value.
        requestContext - request context.
        responseContext - response context.
        Throws: - if an I/O exception occurs.