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 voidprotected voiddoService(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected static StringgetModulePortletId(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 StringgetResourcePath(String modulePath) protected javax.servlet.RequestDispatchergetResourceRequestDispatcher(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String modulePath) voidservice(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected booleanvalidateModuleExtension(String moduleName) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceMethods 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:
servicein classjavax.servlet.http.HttpServlet- Throws:
IOExceptionjavax.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
-