Class BufferedContentServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclnt.jsfserver.util.CCServletBase
org.eclnt.jsfserver.util.CCServletBaseWithContextMgmt
org.eclnt.jsfserver.bufferedcontent.BufferedContentServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, ICCServerConstants

public class BufferedContentServlet extends CCServletBaseWithContextMgmt implements ICCServerConstants
Servlet that allows to access buffered content instances via URL. The URL needs to contain the key of the buffered content, so that it can be resolved via the session context.
See Also:
  • Constructor Details

    • BufferedContentServlet

      public BufferedContentServlet()
  • Method Details

    • checkIfToAbortOnMissingHttpSession

      protected boolean checkIfToAbortOnMissingHttpSession(javax.servlet.http.HttpServletRequest req)
      Specified by:
      checkIfToAbortOnMissingHttpSession in class CCServletBaseWithContextMgmt
    • processRequest

      protected void processRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Specified by:
      processRequest in class CCServletBaseWithContextMgmt
      Throws:
      javax.servlet.ServletException
      IOException
    • readBufferIdFromURI

      public static String readBufferIdFromURI(String uri)
    • addBrowserFileNameToHttpResponse

      protected void addBrowserFileNameToHttpResponse(javax.servlet.http.HttpServletResponse resp, String bfn)