类的使用
cn.taketoday.web.resource.AbstractResourceResolver
使用AbstractResourceResolver的程序包
-
cn.taketoday.web.resource中AbstractResourceResolver的使用
修饰符和类型类说明classAResourceResolverthat resolves resources from aCacheor otherwise delegates to the resolver chain and saves the result in the cache.classResolver that delegates to the chain, and if a resource is found, it then attempts to find an encoded (e.g. gzip, brotli) variant that is acceptable based on the "Accept-Encoding" request header.classA simpleResourceResolverthat tries to find a resource under the given locations matching to the request path.classResolves request paths containing a version string that can be used as part of an HTTP caching strategy in which a resource is cached with a date in the distant future (e.g. 1 year) and cached until the version, and therefore the URL, is changed.classAResourceResolverthat delegates to the chain to locate a resource and then attempts to find a matching versioned resource contained in a WebJar JAR file.