程序包的使用
org.springframework.http.converter
使用org.springframework.http.converter的程序包 程序包 说明 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.support Provides a comprehensive HttpMessageConverter variant for form handling.org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.web.client Core package of the client-side web support.org.springframework.web.filter Provides generic filter base classes allowing for bean-style configuration.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.function Provides the types that make up Spring's functional web framework for Servlet environments.org.springframework.web.servlet.function.support Classes supporting theorg.springframework.web.servlet.function
package.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.resource Support classes for serving static resources.org.springframework.http.converter.cbor使用的org.springframework.http.converter中的类 类 说明 AbstractGenericHttpMessageConverter Abstract base class for mostGenericHttpMessageConverter
implementations.AbstractHttpMessageConverter Abstract base class for mostHttpMessageConverter
implementations.GenericHttpMessageConverter A specialization ofHttpMessageConverter
that can convert an HTTP request into a target object of a specified generic type and a source object of a specified generic type into an HTTP response.HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.http.converter.feed使用的org.springframework.http.converter中的类 类 说明 AbstractHttpMessageConverter Abstract base class for mostHttpMessageConverter
implementations.HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.HttpMessageNotReadableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.HttpMessageNotWritableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.org.springframework.http.converter.protobuf使用的org.springframework.http.converter中的类 类 说明 AbstractHttpMessageConverter Abstract base class for mostHttpMessageConverter
implementations.HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.HttpMessageNotReadableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.HttpMessageNotWritableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.org.springframework.http.converter.smile使用的org.springframework.http.converter中的类 类 说明 AbstractGenericHttpMessageConverter Abstract base class for mostGenericHttpMessageConverter
implementations.AbstractHttpMessageConverter Abstract base class for mostHttpMessageConverter
implementations.GenericHttpMessageConverter A specialization ofHttpMessageConverter
that can convert an HTTP request into a target object of a specified generic type and a source object of a specified generic type into an HTTP response.HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.http.converter.support使用的org.springframework.http.converter中的类 类 说明 FormHttpMessageConverter Implementation ofHttpMessageConverter
to read and write 'normal' HTML forms and also to write (but not read) multipart data (e.g. file uploads).HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.test.web.servlet.setup使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.web.client使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.web.filter使用的org.springframework.http.converter中的类 类 说明 FormHttpMessageConverter Implementation ofHttpMessageConverter
to read and write 'normal' HTML forms and also to write (but not read) multipart data (e.g. file uploads).org.springframework.web.servlet.config.annotation使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.web.servlet.function使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.web.servlet.function.support使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.http.converter中的类 类 说明 HttpMessageConverter Strategy interface for converting from and to HTTP requests and responses.HttpMessageNotReadableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.HttpMessageNotWritableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.org.springframework.web.servlet.mvc.support使用的org.springframework.http.converter中的类 类 说明 HttpMessageNotReadableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.HttpMessageNotWritableException Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.org.springframework.web.servlet.resource使用的org.springframework.http.converter中的类 类 说明 ResourceHttpMessageConverter Implementation ofHttpMessageConverter
that can read/writeResources
and supports byte range requests.ResourceRegionHttpMessageConverter Implementation ofHttpMessageConverter
that can write a singleResourceRegion
, or Collections ofResourceRegions
.