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 Summary

    Modifier and Type
    Method
    Description
    void
    Gets invoked before a request is sent to the http server
  • Method Details

    • intercept

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