Uses of Class
org.springframework.web.reactive.config.ResourceHandlerRegistration
Packages that use ResourceHandlerRegistration
Package
Description
Spring WebFlux configuration infrastructure.
-
Uses of ResourceHandlerRegistration in org.springframework.web.reactive.config
Methods in org.springframework.web.reactive.config that return ResourceHandlerRegistrationModifier and TypeMethodDescriptionResourceHandlerRegistry.addResourceHandler(String... patterns) Add a resource handler for serving static resources based on the specified URL path patterns.ResourceHandlerRegistration.addResourceLocations(String... resourceLocations) Add one or more resource locations from which to serve static content.ResourceHandlerRegistration.setCacheControl(CacheControl cacheControl) Specify theCacheControlwhich should be used by the resource handler.ResourceHandlerRegistration.setOptimizeLocations(boolean optimizeLocations) Set whether to optimize the specified locations through an existence check on startup, filtering non-existing directories upfront so that they do not have to be checked on every resource access.ResourceHandlerRegistration.setUseLastModified(boolean useLastModified) Set whether theResource.lastModified()information should be used to drive HTTP responses.