- All Known Implementing Classes:
WebClientMeter
,WebClientMetrics
,WebClientSecurity
,WebClientTracing
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Extension that can modify outgoing request.
-
Method Summary
Modifier and TypeMethodDescriptionrequest
(WebClientServiceRequest request) Method which is called before send actual request.default Single<WebClientServiceResponse>
response
(WebClientRequestBuilder.ClientRequest request, WebClientServiceResponse response) Method which is called when the last byte of the response is processed.
-
Method Details
-
request
Method which is called before send actual request.- Parameters:
request
- client service request- Returns:
- completion stage of the client service request
-
response
default Single<WebClientServiceResponse> response(WebClientRequestBuilder.ClientRequest request, WebClientServiceResponse response) Method which is called when the last byte of the response is processed.- Parameters:
request
- client service requestresponse
- client service response- Returns:
- completion stage of the client service response
-