org.broadleafcommerce.cms.web.file
Class StaticAssetView

java.lang.Object
  extended by org.broadleafcommerce.cms.web.file.StaticAssetView
All Implemented Interfaces:
org.springframework.web.servlet.View

public class StaticAssetView
extends Object
implements org.springframework.web.servlet.View

Created by jfischer


Field Summary
protected  boolean browserAssetCachingEnabled
           
protected  long cacheSeconds
           
 
Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
 
Constructor Summary
StaticAssetView()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

browserAssetCachingEnabled

protected boolean browserAssetCachingEnabled

cacheSeconds

protected long cacheSeconds
Constructor Detail

StaticAssetView

public StaticAssetView()
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface org.springframework.web.servlet.View

render

public void render(Map<String,?> model,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws Exception
Specified by:
render in interface org.springframework.web.servlet.View
Throws:
Exception

isBrowserAssetCachingEnabled

public boolean isBrowserAssetCachingEnabled()

setBrowserAssetCachingEnabled

public void setBrowserAssetCachingEnabled(boolean browserAssetCachingEnabled)

getCacheSeconds

public long getCacheSeconds()

setCacheSeconds

public void setCacheSeconds(long cacheSeconds)


Copyright © 2013. All Rights Reserved.