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(org.springframework.format.support.FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a
BeanNameUrlHandlerMapping ordered at 2 to map URL
paths to controller bean names. |
protected Object[] |
WebMvcConfigurationSupport.getInterceptors(org.springframework.format.support.FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Provide access to the shared handler interceptors used to configure
HandlerMapping instances with. |
RequestMappingHandlerMapping |
WebMvcConfigurationSupport.requestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager,
org.springframework.format.support.FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a
RequestMappingHandlerMapping ordered at 0 for mapping
requests to annotated controllers. |
HandlerMapping |
WebMvcConfigurationSupport.resourceHandlerMapping(org.springframework.web.util.UrlPathHelper mvcUrlPathHelper,
org.springframework.util.PathMatcher mvcPathMatcher,
org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager,
org.springframework.format.support.FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
|
RouterFunctionMapping |
WebMvcConfigurationSupport.routerFunctionMapping(org.springframework.format.support.FormattingConversionService mvcConversionService,
ResourceUrlProvider mvcResourceUrlProvider)
Return a
RouterFunctionMapping ordered at 3 to map
router functions. |
HandlerMapping |
WebMvcConfigurationSupport.viewControllerHandlerMapping(org.springframework.util.PathMatcher mvcPathMatcher,
org.springframework.web.util.UrlPathHelper mvcUrlPathHelper,
org.springframework.format.support.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) |