Class ComboServlet

Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.liferay.portal.servlet.ComboServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ComboServlet extends javax.servlet.http.HttpServlet
Author:
Eduardo Lundgren, Edward Han, Zsigmond Rab, Raymond Augé
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    protected void
    doService(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
     
    protected static String
     
    protected byte[]
    getResourceContent(javax.servlet.RequestDispatcher requestDispatcher, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String modulePath, String minifierType)
     
    protected static String
    getResourcePath(String modulePath)
     
    protected javax.servlet.RequestDispatcher
    getResourceRequestDispatcher(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String modulePath)
     
    void
    service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
     
    protected boolean
     

    Methods inherited from class javax.servlet.http.HttpServlet

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

    Methods inherited from class javax.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

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

    • ComboServlet

      public ComboServlet()
  • Method Details

    • clearCache

      public static void clearCache()
    • service

      public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Overrides:
      service in class javax.servlet.http.HttpServlet
      Throws:
      IOException
      javax.servlet.ServletException
    • getModulePortletId

      protected static String getModulePortletId(String modulePath)
    • getResourcePath

      protected static String getResourcePath(String modulePath)
    • doService

      protected void doService(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
      Throws:
      Exception
    • getResourceContent

      protected byte[] getResourceContent(javax.servlet.RequestDispatcher requestDispatcher, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String modulePath, String minifierType) throws Exception
      Throws:
      Exception
    • getResourceRequestDispatcher

      protected javax.servlet.RequestDispatcher getResourceRequestDispatcher(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String modulePath) throws Exception
      Throws:
      Exception
    • validateModuleExtension

      protected boolean validateModuleExtension(String moduleName) throws Exception
      Throws:
      Exception