Package org.springframework.http.client
@NonNullApi
@NonNullFields
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.-
ClassDescriptionAbstract base for
ClientHttpRequest
that makes sure that headers and body are not written multiple times.Abstract base class forClientHttpRequestFactory
implementations that decorate another request factory.Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, with no direct replacement; scheduled for removal in 6.2Wrapper for aClientHttpRequestFactory
that buffers all outgoing and incoming streams in memory.Represents a client-side HTTP request.Represents the context of a client-side HTTP request execution.Factory forClientHttpRequest
objects.Callback interface for initializing aClientHttpRequest
prior to it being used.Intercepts client-side HTTP requests.Represents a client-side HTTP response.ClientHttpRequestFactory
implementation that uses Apache HttpComponents HttpClient to create requests.ClientHttpRequestFactory
wrapper with support forClientHttpRequestInterceptors
.ClientHttpRequestFactory
implementation based on Jetty'sHttpClient
.MultiValueMap
implementation for wrapping Jetty HTTP headers.Prepare the body of a multipart request, resulting in aMultiValueMap<String, HttpEntity>
.Builder that allows for further customization of part headers.ClientHttpRequestFactory
implementation that uses OkHttp 3.x to create requests.ClientHttpRequestFactory
implementation that uses standard JDK facilities.