Class SkinResourceRequestHandler.SkinResourceRenderer

java.lang.Object
org.exoplatform.portal.resource.SkinResourceRequestHandler.SkinResourceRenderer
All Implemented Interfaces:
ResourceRenderer
Enclosing class:
SkinResourceRequestHandler

public class SkinResourceRequestHandler.SkinResourceRenderer extends Object implements ResourceRenderer
  • Constructor Summary

    Constructors
    Constructor
    Description
    SkinResourceRenderer(jakarta.servlet.http.HttpServletResponse response, org.exoplatform.web.ControllerContext context, org.exoplatform.commons.utils.BinaryOutput output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.utils.BinaryOutput
    Returns an output stream for performing resource rendering.
    void
    setExpiration(long seconds)
    Instruct the renderer about the expiration time in seconds.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SkinResourceRenderer

      public SkinResourceRenderer(jakarta.servlet.http.HttpServletResponse response, org.exoplatform.web.ControllerContext context, org.exoplatform.commons.utils.BinaryOutput output)
  • Method Details

    • getOutput

      public org.exoplatform.commons.utils.BinaryOutput getOutput()
      Description copied from interface: ResourceRenderer
      Returns an output stream for performing resource rendering.
      Specified by:
      getOutput in interface ResourceRenderer
      Returns:
      a stream
    • setExpiration

      public void setExpiration(long seconds)
      Description copied from interface: ResourceRenderer
      Instruct the renderer about the expiration time in seconds. A non positive value means that no caching should be performed. The expiration value is relative to the date of the request.
      Specified by:
      setExpiration in interface ResourceRenderer
      Parameters:
      seconds - the value in seconds