Package org.springframework.http.client
@NullMarked
package org.springframework.http.client
Contains an abstraction over client-side HTTP. This package
contains the
ClientHttpRequest and ClientHttpResponse,
as well as a basic implementation of these interfaces.-
ClassDescriptionBase implementation of
ClientHttpRequestthat buffers output in a byte array before sending it over the wire.Abstract base forClientHttpRequestthat makes sure that headers and body are not written multiple times.Abstract base class forClientHttpRequestFactoryimplementations that decorate another delegate request factory.Extension ofAbstractClientHttpRequestthat adds the ability to stream request body content directly to the underlying HTTP client library through theStreamingHttpOutputMessagecontract.ClientHttpRequestFactorythat wraps another in order to buffer outgoing and incoming content in memory, making it possible to set a content-length on the request, and to read the response body multiple times.Represents a client-side HTTP request.Represents the context of a client-side HTTP request execution.Factory forClientHttpRequestobjects.Callback interface for initializing aClientHttpRequestprior to it being used.Contract to intercept client-side HTTP requests.Represents a client-side HTTP response.ClientHttpRequestFactoryimplementation that uses Apache HttpComponents HttpClient to create requests.ClientHttpRequestFactorywrapper with support forClientHttpRequestInterceptors.ClientHttpRequestFactoryimplementation based on the JavaHttpClient.ClientHttpRequestFactoryimplementation based on Jetty'sHttpClient.Prepare the body of a multipart request, resulting in aMultiValueMap<String, HttpEntity>.Builder that allows for further customization of part headers.Reactor-Netty implementation ofClientHttpRequestFactory.Factory to manage Reactor Netty resources, i.e.ClientHttpRequestFactoryimplementation that uses standard JDK facilities.