Example usage for Java org.springframework.web.servlet.mvc WebContentInterceptor fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setCacheMappings(Properties cacheMappings) Map specific URL paths to specific cache seconds. |
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 | setUseCacheControlHeader(boolean useCacheControlHeader) Set whether to use the HTTP 1.1 cache-control header. |
void | setUseCacheControlNoStore(boolean useCacheControlNoStore) Set whether to use the HTTP 1.1 cache-control header value "no-store" when preventing caching. |
void | setUseExpiresHeader(boolean useExpiresHeader) Set whether to use the HTTP 1.0 expires header. |