Uses of Class
org.springframework.web.servlet.resource.ResourceUrlProvider
Packages that use ResourceUrlProvider
Package
Description
Annotation-based setup for Spring MVC.
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 ResourceUrlProviderModifier and TypeMethodDescriptionWebMvcConfigurationSupport.mvcResourceUrlProvider()AResourceUrlProviderbean for use with the MVC dispatcher.Methods in org.springframework.web.servlet.config.annotation with parameters of type ResourceUrlProviderModifier and TypeMethodDescriptionWebMvcConfigurationSupport.beanNameHandlerMapping(org.springframework.format.support.FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return aBeanNameUrlHandlerMappingordered at 2 to map URL paths to controller bean names.protected final Object[]WebMvcConfigurationSupport.getInterceptors(org.springframework.format.support.FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) Provide access to the shared handler interceptors used to configureHandlerMappinginstances with.WebMvcConfigurationSupport.requestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager, org.springframework.format.support.FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return aRequestMappingHandlerMappingordered at 0 for mapping requests to annotated controllers.WebMvcConfigurationSupport.resourceHandlerMapping(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager, org.springframework.format.support.FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.WebMvcConfigurationSupport.routerFunctionMapping(org.springframework.format.support.FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return aRouterFunctionMappingordered at -1 to map router functions.WebMvcConfigurationSupport.viewControllerHandlerMapping(org.springframework.format.support.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 ResourceUrlProviderModifier and TypeMethodDescriptionResourceTransformerSupport.getResourceUrlProvider()Return the configuredResourceUrlProvider.Methods in org.springframework.web.servlet.resource with parameters of type ResourceUrlProviderModifier and TypeMethodDescriptionvoidResourceTransformerSupport.setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider) Configure aResourceUrlProviderto use when resolving the public URL of links in a transformed resource (for example, import links in a CSS file).Constructors in org.springframework.web.servlet.resource with parameters of type ResourceUrlProviderModifierConstructorDescriptionResourceUrlProviderExposingInterceptor(ResourceUrlProvider resourceUrlProvider)