Package | Description |
---|---|
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 an HttpMessageConverter implementations for handling JSON.
|
org.springframework.http.converter.xml |
Provides an HttpMessageConverter implementations for handling XML.
|
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 |
AbstractHttpMessageConverter.write(T t,
MediaType contentType,
HttpOutputMessage outputMessage)
This implementation delegates to
AbstractHttpMessageConverter.getDefaultContentType(Object) if a content
type was not provided, calls AbstractHttpMessageConverter.getContentLength(T, org.springframework.http.MediaType) , and sets the corresponding headers
on the output message. |
void |
HttpMessageConverter.write(T t,
MediaType contentType,
HttpOutputMessage outputMessage)
Write an given object to the given output message.
|
protected void |
ResourceHttpMessageConverter.writeInternal(Resource resource,
HttpOutputMessage outputMessage) |
protected abstract void |
AbstractHttpMessageConverter.writeInternal(T t,
HttpOutputMessage outputMessage)
Abstract template method that writes the actual body.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWireFeedHttpMessageConverter.writeInternal(T wireFeed,
HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
protected void |
MappingJacksonHttpMessageConverter.writeInternal(Object object,
HttpOutputMessage outputMessage) |
protected void |
MappingJackson2HttpMessageConverter.writeInternal(Object object,
HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
protected void |
SourceHttpMessageConverter.writeInternal(T t,
HttpOutputMessage outputMessage) |
Copyright © 2022. All rights reserved.