Liferay 7.0-ce-m3

com.liferay.portal.servlet
Class ComboServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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

Constructor Summary
ComboServlet()
           
 
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.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, URL resourceURL, String modulePath, String minifierType)
           
protected static String getResourcePath(String modulePath)
           
protected  URL getResourceURL(javax.servlet.http.HttpServletRequest request, 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
 

Constructor Detail

ComboServlet

public ComboServlet()
Method Detail

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.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    URL resourceURL,
                                    String modulePath,
                                    String minifierType)
                             throws IOException
Throws:
IOException

getResourceURL

protected URL getResourceURL(javax.servlet.http.HttpServletRequest request,
                             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

Liferay 7.0-ce-m3