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:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ComboServlet
extends javax.servlet.http.HttpServlet

Author:
Eduardo Lundgren, Edward Han, Zsigmond Rab
See Also:
Serialized Form

Constructor Summary
ComboServlet()
           
 
Method Summary
protected  void doService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  java.io.File getFile(java.lang.String path)
           
protected  byte[] getFileContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path, java.lang.String minifierType)
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  boolean validateModuleExtension(java.lang.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

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException
javax.servlet.ServletException

doService

protected void doService(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getFile

protected java.io.File getFile(java.lang.String path)
                        throws java.io.IOException
Throws:
java.io.IOException

getFileContent

protected byte[] getFileContent(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                java.lang.String path,
                                java.lang.String minifierType)
                         throws java.io.IOException
Throws:
java.io.IOException

validateModuleExtension

protected boolean validateModuleExtension(java.lang.String moduleName)
                                   throws java.lang.Exception
Throws:
java.lang.Exception