Interface RequestIntercept

  • All Known Implementing Classes:
    BasicAuthIntercept

    public interface RequestIntercept
    Interceptor for before the request is made and after the response is obtained.
    • Method Detail

      • beforeRequest

        default void beforeRequest​(HttpClientRequest request)
        Before the request has been made.

        Typically we can add headers or modify the request prior to it being sent.