Uses of Class
org.springframework.web.servlet.resource.ResourceUrlProvider
Packages that use ResourceUrlProvider 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.Uses of ResourceUrlProvider in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return ResourceUrlProvider Modifier and Type Method Description ResourceUrlProviderWebMvcConfigurationSupport. mvcResourceUrlProvider()AResourceUrlProviderbean for use with the MVC dispatcher.Methods in org.springframework.web.servlet.config.annotation with parameters of type ResourceUrlProvider Modifier and Type Method Description BeanNameUrlHandlerMappingWebMvcConfigurationSupport. beanNameHandlerMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)Return aBeanNameUrlHandlerMappingordered 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 configureHandlerMappinginstances with.RequestMappingHandlerMappingWebMvcConfigurationSupport. requestMappingHandlerMapping(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)Return aRequestMappingHandlerMappingordered at 0 for mapping requests to annotated controllers.HandlerMappingWebMvcConfigurationSupport. resourceHandlerMapping(UrlPathHelper urlPathHelper, PathMatcher pathMatcher, ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.RouterFunctionMappingWebMvcConfigurationSupport. routerFunctionMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)Return aRouterFunctionMappingordered at 3 to map router functions.HandlerMappingWebMvcConfigurationSupport. viewControllerHandlerMapping(PathMatcher pathMatcher, UrlPathHelper urlPathHelper, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)Return a handler mapping ordered at 1 to map URL paths directly to view names.Uses of ResourceUrlProvider in org.springframework.web.servlet.resource
Methods in org.springframework.web.servlet.resource that return ResourceUrlProvider Modifier and Type Method Description ResourceUrlProviderResourceTransformerSupport. getResourceUrlProvider()Return the configuredResourceUrlProvider.Methods in org.springframework.web.servlet.resource with parameters of type ResourceUrlProvider Modifier and Type Method Description voidResourceTransformerSupport. setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider)Configure aResourceUrlProviderto use when resolving the public URL of links in a transformed resource (e.g.Constructors in org.springframework.web.servlet.resource with parameters of type ResourceUrlProvider Constructor Description ResourceUrlProviderExposingInterceptor(ResourceUrlProvider resourceUrlProvider)