程序包的使用
org.springframework.web.accept
使用org.springframework.web.accept的程序包 程序包 说明 org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.web.accept This package contains classes used to determine the requested the media types in a request.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.mvc.condition Common MVC logic for matching incoming requests based on conditions.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
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.resource Support classes for serving static resources.org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.org.springframework.test.web.servlet.setup使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.org.springframework.web.accept使用的org.springframework.web.accept中的类 类 说明 AbstractMappingContentNegotiationStrategy Base class forContentNegotiationStrategy
implementations with the steps to resolve a request to media types.ContentNegotiationManager Central class to determine requested media types for a request.ContentNegotiationStrategy A strategy for resolving the requested media types for a request.MappingMediaTypeFileExtensionResolver An implementation ofMediaTypeFileExtensionResolver
that maintains lookups between file extensions and MediaTypes in both directions.MediaTypeFileExtensionResolver Strategy to resolve aMediaType
to a list of file extensions — for example, to resolve "application/json" to "json".PathExtensionContentNegotiationStrategy 已过时。as of 5.2.4.org.springframework.web.servlet.config.annotation使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.ContentNegotiationStrategy A strategy for resolving the requested media types for a request.org.springframework.web.servlet.mvc.condition使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.org.springframework.web.servlet.mvc.method使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.org.springframework.web.servlet.resource使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.PathExtensionContentNegotiationStrategy 已过时。as of 5.2.4.org.springframework.web.servlet.view使用的org.springframework.web.accept中的类 类 说明 ContentNegotiationManager Central class to determine requested media types for a request.