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 mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
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 mvcContentNegotiationManager,
FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a
RequestMappingHandlerMapping ordered at 0 for mapping
requests to annotated controllers. |
HandlerMapping |
WebMvcConfigurationSupport.resourceHandlerMapping(UrlPathHelper mvcUrlPathHelper,
PathMatcher mvcPathMatcher,
ContentNegotiationManager mvcContentNegotiationManager,
FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
|
RouterFunctionMapping |
WebMvcConfigurationSupport.routerFunctionMapping(FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a
RouterFunctionMapping ordered at 3 to map
router functions. |
HandlerMapping |
WebMvcConfigurationSupport.viewControllerHandlerMapping(PathMatcher mvcPathMatcher,
UrlPathHelper mvcUrlPathHelper,
FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
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) |