Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.resource |
Support classes for serving static resources.
|
Modifier and Type | Method and Description |
---|---|
ResourceUrlProvider |
WebMvcConfigurationSupport.mvcResourceUrlProvider()
A
ResourceUrlProvider bean for use with the MVC dispatcher. |
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 Object[] |
WebMvcConfigurationSupport.getInterceptors(FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Provide access to the shared handler interceptors used to configure
HandlerMapping instances with. |
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.
|
Modifier and Type | Method and Description |
---|---|
ResourceUrlProvider |
ResourceTransformerSupport.getResourceUrlProvider()
Return the configured
ResourceUrlProvider . |
Modifier and Type | Method and Description |
---|---|
void |
ResourceTransformerSupport.setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider)
Configure a
ResourceUrlProvider to use when resolving the public
URL of links in a transformed resource (e.g. |
Constructor and Description |
---|
ResourceUrlProviderExposingInterceptor(ResourceUrlProvider resourceUrlProvider) |