ClientHttpConnector for the Jetty Reactive Streams HttpClient.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private DataBufferFactory | |
| private final HttpClient |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | JettyClientHttpConnector(HttpClient
the httpClient, JettyResourceFactory HttpClient to usethe resourceFactory)JettyResourceFactory to useConstructor with an initialized |
| public | JettyClientHttpConnector(JettyResourceFactory
the resourceFactory, Consumer<HttpClient> JettyResourceFactory to usethe lambda used to customize the customizer)HttpClient
Deprecated
as of 5.2, in favor of
Constructor with an JettyClientHttpConnector#JettyClientHttpConnector(HttpClient, JettyResourceFactory)
JettyResourceFactory that will manage shared resources.
|
| Modifier and Type | Method and Description |
|---|---|
| public Mono | connect(HttpMethod
the HTTP request method method, URI the HTTP request URI uri, Function<? super ClientHttpRequest, Mono<Void>> a function that prepares and writes to the request,
returning a publisher that signals when it's done writing.
Implementations can return a requestCallback)Mono<Void> by calling
ClientHttpRequest#writeWith or ClientHttpRequest#setComplete.Implements org. HttpMethod and
URI and apply the given requestCallback when the HTTP
request of the underlying API can be initialized and written to.
|
| private Mono | |
| public void | |
| private DataBuffer |