ResourceHandlerRegistration | ResourceHandlerRegistry.addResourceHandler(String... pathPatterns) | 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 the CacheControl which should be used by the resource handler. |
---|
ResourceHandlerRegistration | ResourceHandlerRegistration.setCachePeriod(Integer cachePeriod) | Specify the cache period for the resources served by the resource handler, in seconds. |
---|