Class StyleReaderServlet

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

public class StyleReaderServlet extends CCServletBase
Reads all files that are accessed in the context of style management from client side. These are the files with the URL "/eclntjsfserer/styles/*.

The "riscstyle.css" file and the "riscstyle.js" file are dynamically created at runtime.
Other resources are accessed in the following sequence:
1. they are read from the web application (WebResourceReader)
2. they are read from the stream store: using path "/ccstylereader/eclntjsfserver/styles/".
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected void
    doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
     
    protected void
    doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
     

    Methods inherited from class org.eclnt.jsfserver.util.CCServletBase

    init, proposeContentType, setContentType, setContentTypeInResponse

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

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

    • StyleReaderServlet

      public StyleReaderServlet()
  • Method Details

    • checkIfToInitializeCCEnvironment

      protected boolean checkIfToInitializeCCEnvironment()
      Overrides:
      checkIfToInitializeCCEnvironment in class CCServletBase
    • doGet

      protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • doPost

      protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Overrides:
      doPost in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException