类 WebProperties.Resources.Chain
java.lang.Object
org.springframework.boot.autoconfigure.web.WebProperties.Resources.Chain
Configuration for the Spring Resource Handling chain.
-
嵌套类概要
嵌套类修饰符和类型类说明static classStrategies for extracting and embedding a resource version in its URL path. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return whether the resource chain is enabled.booleanisCache()booleanvoidsetCache(boolean cache) voidsetCompressed(boolean compressed) voidsetEnabled(boolean enabled)
-
构造器详细资料
-
Chain
public Chain()
-
-
方法详细资料
-
getEnabled
Return whether the resource chain is enabled. Returnnullif no specific settings are present.- 返回:
- whether the resource chain is enabled or
nullif 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)
-