Package | Description |
---|---|
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder 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.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.view |
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
|
Modifier and Type | Method and Description |
---|---|
protected StandaloneMockMvcBuilder |
StandaloneMockMvcBuilder.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
Set a ContentNegotiationManager.
|
Modifier and Type | Method and Description |
---|---|
ContentNegotiationManager |
ContentNegotiationManagerFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
protected ContentNegotiationManager |
ContentNegotiationConfigurer.getContentNegotiationManager()
Return the configured
ContentNegotiationManager instance |
ContentNegotiationManager |
WebMvcConfigurationSupport.mvcContentNegotiationManager()
Return a
ContentNegotiationManager instance to use to determine
requested media types in a given request. |
Constructor and Description |
---|
ProducesRequestCondition(String[] produces,
String[] headers,
ContentNegotiationManager manager)
Same as
ProducesRequestCondition.ProducesRequestCondition(String[], String[]) but also
accepting a ContentNegotiationManager . |
Modifier and Type | Method and Description |
---|---|
ContentNegotiationManager |
RequestMappingHandlerMapping.getContentNegotiationManager()
Return the configured
ContentNegotiationManager . |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingHandlerAdapter.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
Set the
ContentNegotiationManager to use to determine requested media types. |
void |
RequestMappingHandlerMapping.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
Set the
ContentNegotiationManager to use to determine requested media types. |
void |
ExceptionHandlerExceptionResolver.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
Set the
ContentNegotiationManager to use to determine requested media types. |
Constructor and Description |
---|
AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> messageConverters,
ContentNegotiationManager manager) |
HttpEntityMethodProcessor(List<HttpMessageConverter<?>> messageConverters,
ContentNegotiationManager contentNegotiationManager) |
RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> messageConverters,
ContentNegotiationManager contentNegotiationManager) |
Modifier and Type | Method and Description |
---|---|
void |
ContentNegotiatingViewResolver.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
Set the
ContentNegotiationManager to use to determine requested media types. |
Copyright © 2015. All rights reserved.