ClientHttpConnector for the Java HttpClient.
| Modifier and Type | Field and Description |
|---|---|
| private DataBufferFactory | |
| private final java. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JdkClientHttpConnector(java.
Constructor with an initialized |
| public | JdkClientHttpConnector(java.
a pre-initialized builder for the client that will
be further initialized with the shared resources to use clientBuilder,the resourceFactory)JdkHttpClientResourceFactory to useConstructor with a |
| 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.
|
| public void |
| bufferFactory | back to summary |
|---|---|
| private DataBufferFactory bufferFactory | |
| httpClient | back to summary |
|---|---|
| private final java. | |
| JdkClientHttpConnector | back to summary |
|---|---|
| public JdkClientHttpConnector() Default constructor that uses | |
| JdkClientHttpConnector | back to summary |
|---|---|
| public JdkClientHttpConnector(java. Constructor with an initialized | |
| JdkClientHttpConnector | back to summary |
|---|---|
| public JdkClientHttpConnector(java. Constructor with a
| |
| connect | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Connect to the origin server using the given
| |
| setBufferFactory | back to summary |
|---|---|
| public void setBufferFactory(DataBufferFactory bufferFactory) Set the buffer factory to use. By default, this is | |