public static interface HttpClient.RequestSender extends HttpClient.ResponseReceiver<HttpClient.RequestSender>
Publisher based, HttpClient.ResponseReceiver API.| Modifier and Type | Method and Description | 
|---|---|
HttpClient.ResponseReceiver<?> | 
send(BiFunction<? super HttpClientRequest,? super NettyOutbound,? extends Publisher<Void>> sender)
Configure a body to send on request using the  
NettyOutbound sending
 builder and returning a Publisher to signal end of the request. | 
HttpClient.ResponseReceiver<?> | 
send(Publisher<? extends ByteBuf> body)
Configure a body to send on request. 
 | 
default HttpClient.ResponseReceiver<?> | 
sendForm(BiConsumer<? super HttpClientRequest,HttpClientForm> formCallback)
Prepare to send an HTTP Form including Multipart encoded Form which support
 chunked file upload. 
 | 
HttpClient.ResponseReceiver<?> | 
sendForm(BiConsumer<? super HttpClientRequest,HttpClientForm> formCallback,
        Consumer<Flux<Long>> progress)
Prepare to send an HTTP Form including Multipart encoded Form which support
 chunked file upload. 
 | 
response, response, responseConnection, responseContent, responseSingleuri, uri, uriHttpClient.ResponseReceiver<?> send(Publisher<? extends ByteBuf> body)
Note: The body Publisher passed in will be invoked also for redirect requests
 when followRedirect is enabled. If you need to control what will be sent when
 followRedirect is enabled then use send(BiFunction).
 
Note: For redirect requests, sensitive headers
 followRedirect are removed
 from the initialized request when redirecting to a different domain, they can be re-added globally via
 HttpClient.followRedirect(boolean, Consumer)/HttpClient.followRedirect(BiPredicate, Consumer)
 or alternatively for full control per redirect request, consider using HttpClient.RedirectSendHandler
 with send(BiFunction)
body - a body publisher that will terminate the request on completeHttpClient.ResponseReceiverHttpClient.ResponseReceiver<?> send(BiFunction<? super HttpClientRequest,? super NettyOutbound,? extends Publisher<Void>> sender)
NettyOutbound sending
 builder and returning a Publisher to signal end of the request.
 Note: The sender BiFunction passed in will be invoked also for redirect requests
 when followRedirect is enabled. For redirect requests, sensitive headers
 followRedirect are removed
 from the initialized request when redirecting to a different domain, they can be re-added globally via
 HttpClient.followRedirect(boolean, Consumer)/HttpClient.followRedirect(BiPredicate, Consumer)
 or alternatively for full control per redirect request, consider using HttpClient.RedirectSendHandler.
 HttpClient.RedirectSendHandler can be used to indicate explicitly that this BiFunction has special
 handling for redirect requests.
sender - a bifunction given the outgoing request and the sending
 NettyOutbound, returns a publisher that will terminate the request
 body on completeHttpClient.ResponseReceiverdefault HttpClient.ResponseReceiver<?> sendForm(BiConsumer<? super HttpClientRequest,HttpClientForm> formCallback)
HttpClientForm.multipart(boolean).
 Note: The HTTP Form passed in will be invoked also for redirect requests
 when followRedirect is enabled. If you need to control what will be sent when
 followRedirect is enabled use HttpClientInfos.redirectedFrom() to check the original
 and any number of subsequent redirect(s), including the one that is in progress.
 
Note: For redirect requests, sensitive headers
 followRedirect are removed
 from the initialized request when redirecting to a different domain, they can be re-added globally via
 HttpClient.followRedirect(boolean, Consumer)/HttpClient.followRedirect(BiPredicate, Consumer).
formCallback - called when form generator is createdHttpClient.ResponseReceiverHttpClient.ResponseReceiver<?> sendForm(BiConsumer<? super HttpClientRequest,HttpClientForm> formCallback, @Nullable Consumer<Flux<Long>> progress)
HttpClientForm.multipart(boolean).
 Note: The HTTP Form passed in will be invoked also for redirect requests
 when followRedirect is enabled. If you need to control what will be sent when
 followRedirect is enabled use HttpClientInfos.redirectedFrom() to check the original
 and any number of subsequent redirect(s), including the one that is in progress.
 
Note: For redirect requests, sensitive headers
 followRedirect are removed
 from the initialized request when redirecting to a different domain, they can be re-added globally via
 HttpClient.followRedirect(boolean, Consumer)/HttpClient.followRedirect(BiPredicate, Consumer).
formCallback - called when form generator is createdprogress - called after form is being sent and passed with a Flux of the latest in-flight or uploaded bytesHttpClient.ResponseReceiver