类的使用
org.springframework.http.converter.AbstractHttpMessageConverter
使用AbstractHttpMessageConverter的程序包 程序包 说明 org.springframework.http.converter Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.org.springframework.http.converter.cbor Provides an HttpMessageConverter for the CBOR data format.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.smile Provides an HttpMessageConverter for the Smile data format ("binary JSON").org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.http.converter中AbstractHttpMessageConverter的使用
org.springframework.http.converter中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
AbstractGenericHttpMessageConverter<T>
Abstract base class for mostGenericHttpMessageConverter
implementations.class
ByteArrayHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write byte arrays.class
ObjectToStringHttpMessageConverter
AnHttpMessageConverter
that usesStringHttpMessageConverter
for reading and writing content and aConversionService
for converting the String content to and from the target object type.class
ResourceHttpMessageConverter
Implementation ofHttpMessageConverter
that can read/writeResources
and supports byte range requests.class
ResourceRegionHttpMessageConverter
Implementation ofHttpMessageConverter
that can write a singleResourceRegion
, or Collections ofResourceRegions
.class
StringHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write strings.org.springframework.http.converter.cbor中AbstractHttpMessageConverter的使用
org.springframework.http.converter.cbor中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
MappingJackson2CborHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write the CBOR data format using the dedicated Jackson 2.x extension.org.springframework.http.converter.feed中AbstractHttpMessageConverter的使用
org.springframework.http.converter.feed中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
AbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
Abstract base class for Atom and RSS Feed message converters, using the ROME tools project.class
AtomFeedHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write Atom feeds.class
RssChannelHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write RSS feeds.org.springframework.http.converter.json中AbstractHttpMessageConverter的使用
org.springframework.http.converter.json中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
AbstractJackson2HttpMessageConverter
Abstract base class for Jackson based and content type independentHttpMessageConverter
implementations.class
AbstractJsonHttpMessageConverter
Common base class for plain JSON converters, e.g.class
GsonHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write JSON using the Google Gson library.class
JsonbHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write JSON using the JSON Binding API.class
MappingJackson2HttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write JSON using Jackson 2.x'sObjectMapper
.org.springframework.http.converter.protobuf中AbstractHttpMessageConverter的使用
org.springframework.http.converter.protobuf中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
ProtobufHttpMessageConverter
AnHttpMessageConverter
that reads and writescom.google.protobuf.Messages
using Google Protocol Buffers.class
ProtobufJsonFormatHttpMessageConverter
Subclass ofProtobufHttpMessageConverter
which enforces the use of Protobuf 3 and its official library"com.google.protobuf:protobuf-java-util"
for JSON processing.org.springframework.http.converter.smile中AbstractHttpMessageConverter的使用
org.springframework.http.converter.smile中AbstractHttpMessageConverter的子类 修饰符和类型 类 说明 class
MappingJackson2SmileHttpMessageConverter
Implementation ofHttpMessageConverter
that can read and write Smile data format ("binary JSON") using the dedicated Jackson 2.x extension.org.springframework.http.converter.xml中AbstractHttpMessageConverter的使用