Class StaticAssetView

java.lang.Object
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 Details

    • browserAssetCachingEnabled

      protected boolean browserAssetCachingEnabled
    • cacheSeconds

      protected long cacheSeconds
  • Constructor Details

    • StaticAssetView

      public StaticAssetView()
  • Method Details

    • getContentType

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

      public void render(Map<String,?> model, jakarta.servlet.http.HttpServletRequest request, jakarta.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)