Package com.liferay.portal.servlet
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected void
doService
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected static String
getModulePortletId
(String modulePath) 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
validateModuleExtension
(String moduleName) 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
-
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 classjavax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
-
getModulePortletId
-
getResourcePath
-
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
- Throws:
Exception
-