Example usage for Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistration fields, constructors, methods, implement or subclass
The text is from its open source code.
ResourceHandlerRegistration | addResourceLocations(String... resourceLocations) Add one or more resource locations from which to serve static content. |
ResourceHandlerRegistration | setCachePeriod(Integer cachePeriod) Specify the cache period for the resources served by the resource handler, in seconds. |