# 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.

Related Packages
Package
Description
org.springframework.http
Contains a basic abstraction over client/server-side HTTP.
org.springframework.http.client.observation
This package provides support for client HTTP `Observation`.
org.springframework.http.client.reactive
Abstractions for reactive HTTP client support including `ClientHttpRequest` and `ClientHttpResponse` as well as a `ClientHttpConnector`.
org.springframework.http.client.support
This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.
org.springframework.http.codec
Provides implementations of `Encoder` and `Decoder` for web use.
org.springframework.http.converter
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
org.springframework.http.server
Contains an abstraction over server-side HTTP.
org.springframework.http.support
This package provides internal HTTP support classes, to be used by higher-level client and server classes.
Class
Description
AbstractClientHttpRequest
Abstract base for `ClientHttpRequest` that makes sure that headers and body are not written multiple times.
AbstractClientHttpRequestFactoryWrapper
Abstract base class for `ClientHttpRequestFactory` implementations that decorate another delegate request factory.
BufferingClientHttpRequestFactory
Wrapper for a `ClientHttpRequestFactory` that buffers all outgoing and incoming streams in memory.
ClientHttpRequest
Represents a client-side HTTP request.
ClientHttpRequestExecution
Represents the context of a client-side HTTP request execution.
ClientHttpRequestFactory
Factory for `ClientHttpRequest` objects.
ClientHttpRequestInitializer
Callback interface for initializing a `ClientHttpRequest` prior to it being used.
ClientHttpRequestInterceptor
Contract to intercept client-side HTTP requests.
ClientHttpResponse
Represents a client-side HTTP response.
HttpComponentsClientHttpRequestFactory
`ClientHttpRequestFactory` implementation that uses Apache HttpComponents HttpClient to create requests.
InterceptingClientHttpRequestFactory
`ClientHttpRequestFactory` wrapper with support for `ClientHttpRequestInterceptors`.
JdkClientHttpRequestFactory
`ClientHttpRequestFactory` implementation based on the Java `HttpClient`.
JettyClientHttpRequestFactory
`ClientHttpRequestFactory` implementation based on Jetty's `HttpClient`.
MultipartBodyBuilder
Prepare the body of a multipart request, resulting in a `MultiValueMap<String, HttpEntity>`.
MultipartBodyBuilder.PartBuilder
Builder that allows for further customization of part headers.
OkHttp3ClientHttpRequestFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.1, in favor of other `ClientHttpRequestFactory` implementations; scheduled for removal in 7.0
ReactorClientHttpRequestFactory
Reactor-Netty implementation of `ClientHttpRequestFactory`.
ReactorNettyClientRequestFactory
Deprecated, for removal: This API element is subject to removal in a future version.
in favor of the renamed `ReactorClientHttpRequestFactory`
ReactorResourceFactory
Factory to manage Reactor Netty resources, i.e.
SimpleClientHttpRequestFactory
`ClientHttpRequestFactory` implementation that uses standard JDK facilities.