node-web-mvc
Version:
node spring mvc
15 lines (14 loc) • 532 B
TypeScript
/**
* @module ResourceCacheControl
* @description 静态资源缓存配置
*/
import CacheControl from '../http/CacheControl';
import HttpServletRequest from '../http/HttpServletRequest';
import HttpServletResponse from '../http/HttpServletResponse';
export default class ResourceCacheControl {
private readonly request;
private readonly response;
private readonly cacheControl;
constructor(request: HttpServletRequest, response: HttpServletResponse, cacheControl: CacheControl);
applyCacheControl(): void;
}