Interface ClientRequestInterceptor

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

    @FunctionalInterface
    public interface ClientRequestInterceptor

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

    Author:
    Tassilo Weidner
    • Method Detail

      • intercept

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