public class StaticAssetView extends Object implements org.springframework.web.servlet.View
Modifier and Type | Field and Description |
---|---|
protected boolean |
browserAssetCachingEnabled |
protected long |
cacheSeconds |
Constructor and Description |
---|
StaticAssetView() |
Modifier and Type | Method and Description |
---|---|
long |
getCacheSeconds() |
String |
getContentType() |
boolean |
isBrowserAssetCachingEnabled() |
void |
render(Map<String,?> model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setBrowserAssetCachingEnabled(boolean browserAssetCachingEnabled) |
void |
setCacheSeconds(long cacheSeconds) |
protected boolean browserAssetCachingEnabled
protected long cacheSeconds
public String getContentType()
getContentType
in interface org.springframework.web.servlet.View
public void render(Map<String,?> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
render
in interface org.springframework.web.servlet.View
Exception
public boolean isBrowserAssetCachingEnabled()
public void setBrowserAssetCachingEnabled(boolean browserAssetCachingEnabled)
public long getCacheSeconds()
public void setCacheSeconds(long cacheSeconds)
Copyright © 2022. All rights reserved.