com.liferay.portal.servlet
Class ComboServlet
java.lang.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
- See Also:
- Serialized Form
|
Method Summary |
static void |
clearCache()
|
protected void |
doService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected static String |
getModulePortletId(String modulePath)
|
protected byte[] |
getResourceContent(javax.servlet.RequestDispatcher requestDispatcher,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String modulePath,
String minifierType)
|
protected static String |
getResourcePath(String modulePath)
|
protected javax.servlet.RequestDispatcher |
getResourceRequestDispatcher(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String modulePath)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected String |
translate(javax.servlet.http.HttpServletRequest request,
String portletId,
String stringFileContent)
|
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboServlet
public ComboServlet()
clearCache
public static void clearCache()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
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 request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
getResourceContent
protected byte[] getResourceContent(javax.servlet.RequestDispatcher requestDispatcher,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String modulePath,
String minifierType)
throws Exception
- Throws:
Exception
getResourceRequestDispatcher
protected javax.servlet.RequestDispatcher getResourceRequestDispatcher(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String modulePath)
throws Exception
- Throws:
Exception
translate
protected String translate(javax.servlet.http.HttpServletRequest request,
String portletId,
String stringFileContent)
validateModuleExtension
protected boolean validateModuleExtension(String moduleName)
throws Exception
- Throws:
Exception