public interface ClientHttpRequestInterceptionChain
ClientHttpRequestInterceptor in the chain.| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<ClientHttpResponse> |
intercept(HttpMethod method,
URI uri,
Consumer<? super HttpMessage> requestCallback)
Delegate to the next
ClientHttpRequestInterceptor in the chain. |
reactor.core.publisher.Mono<ClientHttpResponse> intercept(HttpMethod method, URI uri, Consumer<? super HttpMessage> requestCallback)
ClientHttpRequestInterceptor in the chain.method - the HTTP request methoduri - the HTTP request URIrequestCallback - a function that can customize the request
by changing the HTTP request headers with HttpMessage.getHeaders().ClientHttpResponse