Interface RequestInterceptor
-
- All Superinterfaces:
Function<HttpRequest,HttpRequest>,UnaryOperator<HttpRequest>
public interface RequestInterceptor extends UnaryOperator<HttpRequest>
Interceptors are run as a list to allow modification of the HTTP request before it is sent to the server. The first interceptor will be provided with aHttpRequestthat holds aRequestMessagein the body. The final interceptor should contain abyte[]in the body.