- All Known Implementing Classes:
public interface RequestIntercept
Interceptor for before the request is made and after the response is obtained.
beforeRequestdefault void beforeRequest
(HttpClientRequest request)Before the request has been made.
Typically we can add headers or modify the request prior to it being sent.
afterResponseAfter the response has been received.