Uses of Class
org.springframework.web.reactive.config.ResourceHandlerRegistration
Packages that use ResourceHandlerRegistration Package Description org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.Uses of ResourceHandlerRegistration in org.springframework.web.reactive.config
Methods in org.springframework.web.reactive.config that return ResourceHandlerRegistration Modifier and Type Method Description ResourceHandlerRegistration
ResourceHandlerRegistry. addResourceHandler(String... patterns)
Add a resource handler for serving static resources based on the specified URL path patterns.ResourceHandlerRegistration
ResourceHandlerRegistration. addResourceLocations(String... resourceLocations)
Add one or more resource locations from which to serve static content.ResourceHandlerRegistration
ResourceHandlerRegistration. setCacheControl(CacheControl cacheControl)
Specify theCacheControl
which should be used by the resource handler.