| Package | Description | 
|---|---|
| org.springframework.http | Contains a basic abstraction over client/server-side HTTP. | 
| org.springframework.http.client | Contains an abstraction over client-side HTTP. | 
| org.springframework.http.converter | Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages. | 
| org.springframework.http.converter.feed | Provides HttpMessageConverter implementations for handling Atom and RSS feeds. | 
| org.springframework.http.converter.json | Provides HttpMessageConverter implementations for handling JSON. | 
| org.springframework.http.converter.protobuf | Provides an HttpMessageConverter implementation for handling
 Google Protocol Buffers. | 
| org.springframework.http.converter.xml | Provides HttpMessageConverter implementations for handling XML. | 
| org.springframework.http.server | Contains an abstraction over server-side HTTP. | 
| org.springframework.mock.http | Mock implementations of client/server-side HTTP abstractions. | 
| org.springframework.mock.http.client | Mock implementations of client-side HTTP abstractions. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | StreamingHttpOutputMessageRepresents an HTTP output message that allows for setting a streaming body. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AsyncClientHttpRequestDeprecated. 
 as of Spring 5.0, in favor of  ClientRequest | 
| interface  | ClientHttpRequestRepresents a client-side HTTP request. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractClientHttpRequestAbstract base for  ClientHttpRequestthat makes sure that headers
 and body are not written multiple times. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BufferedImageHttpMessageConverter. write(BufferedImage image,
     MediaType contentType,
     HttpOutputMessage outputMessage) | 
| void | FormHttpMessageConverter. write(MultiValueMap<String,?> map,
     MediaType contentType,
     HttpOutputMessage outputMessage) | 
| void | HttpMessageConverter. write(T t,
     MediaType contentType,
     HttpOutputMessage outputMessage)Write an given object to the given output message. | 
| void | AbstractHttpMessageConverter. write(T t,
     MediaType contentType,
     HttpOutputMessage outputMessage)This implementation sets the default headers by calling  AbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType),
 and then callsAbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage). | 
| void | AbstractGenericHttpMessageConverter. write(T t,
     Type type,
     MediaType contentType,
     HttpOutputMessage outputMessage)This implementation sets the default headers by calling  AbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType),
 and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage). | 
| void | GenericHttpMessageConverter. write(T t,
     Type type,
     MediaType contentType,
     HttpOutputMessage outputMessage)Write an given object to the given output message. | 
| protected void | ResourceHttpMessageConverter. writeContent(Resource resource,
            HttpOutputMessage outputMessage) | 
| protected void | ByteArrayHttpMessageConverter. writeInternal(byte[] bytes,
             HttpOutputMessage outputMessage) | 
| protected void | ObjectToStringHttpMessageConverter. writeInternal(Object obj,
             HttpOutputMessage outputMessage) | 
| protected void | ResourceRegionHttpMessageConverter. writeInternal(Object object,
             Type type,
             HttpOutputMessage outputMessage) | 
| protected void | ResourceHttpMessageConverter. writeInternal(Resource resource,
             HttpOutputMessage outputMessage) | 
| protected void | StringHttpMessageConverter. writeInternal(String str,
             HttpOutputMessage outputMessage) | 
| protected void | AbstractGenericHttpMessageConverter. writeInternal(T t,
             HttpOutputMessage outputMessage) | 
| protected abstract void | AbstractHttpMessageConverter. writeInternal(T t,
             HttpOutputMessage outputMessage)Abstract template method that writes the actual body. | 
| protected abstract void | AbstractGenericHttpMessageConverter. writeInternal(T t,
             Type type,
             HttpOutputMessage outputMessage)Abstract template method that writes the actual body. | 
| protected void | ResourceRegionHttpMessageConverter. writeResourceRegion(ResourceRegion region,
                   HttpOutputMessage outputMessage) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractWireFeedHttpMessageConverter. writeInternal(T wireFeed,
             HttpOutputMessage outputMessage) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractJsonHttpMessageConverter. writeInternal(Object object,
             Type type,
             HttpOutputMessage outputMessage) | 
| protected void | AbstractJackson2HttpMessageConverter. writeInternal(Object object,
             Type type,
             HttpOutputMessage outputMessage) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ProtobufHttpMessageConverter. writeInternal(com.google.protobuf.Message message,
             HttpOutputMessage outputMessage) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Jaxb2CollectionHttpMessageConverter. write(T t,
     Type type,
     MediaType contentType,
     HttpOutputMessage outputMessage) | 
| protected void | SourceHttpMessageConverter. writeInternal(T t,
             HttpOutputMessage outputMessage) | 
| protected void | AbstractXmlHttpMessageConverter. writeInternal(T t,
             HttpOutputMessage outputMessage) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ServerHttpResponseRepresents a server-side HTTP response. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ServletServerHttpResponseServerHttpResponseimplementation that is based on aHttpServletResponse. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MockHttpOutputMessageMock implementation of  HttpOutputMessage. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MockAsyncClientHttpRequestDeprecated. 
 as of Spring 5.0, with no direct replacement | 
| class  | MockClientHttpRequestMock implementation of  ClientHttpRequest. |