Interface ClientRequestInterceptor

  • All Known Implementing Classes:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ClientRequestInterceptor

    Client request interceptor makes it possible to apply changes to each request before it is sent to the http server

    Tassilo Weidner
    • Method Detail

      • intercept

        void intercept​(ClientRequestContext requestContext)
        Gets invoked before a request is sent to the http server
        requestContext - provides the data of the request and offers methods to change it