Example usage for Java org.springframework.web.servlet.resource ResourceHttpRequestHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
List | getLocations() Return the configured List of Resource locations. |
List | getResourceResolvers() Return the list of configured resource resolvers. |
void | handleRequest(HttpServletRequest request, HttpServletResponse response) Processes a resource request. |
void | setCacheSeconds(int seconds) Cache content for the given number of seconds, by writing cache-related HTTP headers to the response:
For more specific needs, a custom org.springframework.http.CacheControl should be used. |
void | setLocations(List Set the List of Resource locations to use as sources for serving static resources. |