类 WebProperties.Resources.Chain
java.lang.Object
org.springframework.boot.autoconfigure.web.WebProperties.Resources.Chain
Configuration for the Spring Resource Handling chain.
-
嵌套类概要
嵌套类修饰符和类型类说明static class
Strategies for extracting and embedding a resource version in its URL path. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return whether the resource chain is enabled.boolean
isCache()
boolean
void
setCache
(boolean cache) void
setCompressed
(boolean compressed) void
setEnabled
(boolean enabled)
-
构造器详细资料
-
Chain
public Chain()
-
-
方法详细资料
-
getEnabled
Return whether the resource chain is enabled. Returnnull
if no specific settings are present.- 返回:
- whether the resource chain is enabled or
null
if no specified settings are present.
-
setEnabled
public void setEnabled(boolean enabled) -
isCache
public boolean isCache() -
setCache
public void setCache(boolean cache) -
getStrategy
-
isCompressed
public boolean isCompressed() -
setCompressed
public void setCompressed(boolean compressed)
-