Package | Description |
---|---|
org.springframework.format.support |
Support classes for the formatting package,
providing common implementations as well as adapters.
|
org.springframework.test.web.servlet.client |
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling. |
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFormattingConversionService
A specialization of
FormattingConversionService configured by default with
converters and formatters appropriate for most applications. |
Modifier and Type | Method and Description |
---|---|
FormattingConversionService |
FormattingConversionServiceFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<? extends FormattingConversionService> |
FormattingConversionServiceFactoryBean.getObjectType() |
Modifier and Type | Method and Description |
---|---|
MockMvcWebTestClient.ControllerSpec |
MockMvcWebTestClient.ControllerSpec.conversionService(FormattingConversionService conversionService)
Provide a conversion service.
|
Modifier and Type | Method and Description |
---|---|
StandaloneMockMvcBuilder |
StandaloneMockMvcBuilder.setConversionService(FormattingConversionService conversionService)
Provide a conversion service with custom formatters and converters.
|
Modifier and Type | Method and Description |
---|---|
FormattingConversionService |
WebFluxConfigurationSupport.webFluxConversionService()
Return a
FormattingConversionService for use with annotated controllers. |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableWebBindingInitializer |
WebFluxConfigurationSupport.getConfigurableWebBindingInitializer(FormattingConversionService webFluxConversionService,
Validator webFluxValidator)
Return the
ConfigurableWebBindingInitializer to use for
initializing all WebDataBinder instances. |
RequestMappingHandlerAdapter |
WebFluxConfigurationSupport.requestMappingHandlerAdapter(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
FormattingConversionService conversionService,
Validator validator) |
Modifier and Type | Method and Description |
---|---|
FormattingConversionService |
WebMvcConfigurationSupport.mvcConversionService()
Return a
FormattingConversionService for use with annotated controllers. |
Modifier and Type | Method and Description |
---|---|
BeanNameUrlHandlerMapping |
WebMvcConfigurationSupport.beanNameHandlerMapping(FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a
BeanNameUrlHandlerMapping ordered at 2 to map URL
paths to controller bean names. |
protected ConfigurableWebBindingInitializer |
WebMvcConfigurationSupport.getConfigurableWebBindingInitializer(FormattingConversionService mvcConversionService,
Validator mvcValidator)
Return the
ConfigurableWebBindingInitializer to use for
initializing all WebDataBinder instances. |
protected Object[] |
WebMvcConfigurationSupport.getInterceptors(FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Provide access to the shared handler interceptors used to configure
HandlerMapping instances with. |
CompositeUriComponentsContributor |
WebMvcConfigurationSupport.mvcUriComponentsContributor(FormattingConversionService conversionService,
RequestMappingHandlerAdapter requestMappingHandlerAdapter)
Return an instance of
CompositeUriComponentsContributor for use with
MvcUriComponentsBuilder . |
RequestMappingHandlerAdapter |
WebMvcConfigurationSupport.requestMappingHandlerAdapter(ContentNegotiationManager contentNegotiationManager,
FormattingConversionService conversionService,
Validator validator)
Returns a
RequestMappingHandlerAdapter for processing requests
through annotated controller methods. |
RequestMappingHandlerMapping |
WebMvcConfigurationSupport.requestMappingHandlerMapping(ContentNegotiationManager contentNegotiationManager,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a
RequestMappingHandlerMapping ordered at 0 for mapping
requests to annotated controllers. |
HandlerMapping |
WebMvcConfigurationSupport.resourceHandlerMapping(ContentNegotiationManager contentNegotiationManager,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
|
RouterFunctionMapping |
WebMvcConfigurationSupport.routerFunctionMapping(FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a
RouterFunctionMapping ordered at 3 to map
router functions. |
HandlerMapping |
WebMvcConfigurationSupport.viewControllerHandlerMapping(FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at 1 to map URL paths directly to
view names.
|