Interface ClientErrorInterceptor


public interface ClientErrorInterceptor
ClientErrorInterceptor provides a hook into the proxy ClientResponse request lifecycle. If a Client Proxy method is called, resulting in a client exception, and the proxy return type is not Response or ClientResponse, registered interceptors will be given a chance to process the response manually, or throw a new exception. If all interceptors successfully return, RestEasy will re-throw the original encountered exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(ClientResponse<?> response)
    Attempt to handle the current ClientResponse.