com.liferay.portal.servlet
Class FriendlyURLServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.liferay.portal.servlet.FriendlyURLServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FriendlyURLServlet
extends javax.servlet.http.HttpServlet

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer
See Also:
Serialized Form

Constructor Summary
FriendlyURLServlet()
           
 
Method Summary
protected  java.lang.String getRedirect(javax.servlet.http.HttpServletRequest req, java.lang.String path, java.lang.String mainPath, java.util.Map params)
           
 void init(javax.servlet.ServletConfig config)
           
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
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, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FriendlyURLServlet

public FriendlyURLServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws java.io.IOException,
                    javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

getRedirect

protected java.lang.String getRedirect(javax.servlet.http.HttpServletRequest req,
                                       java.lang.String path,
                                       java.lang.String mainPath,
                                       java.util.Map params)
                                throws java.lang.Exception
Throws:
java.lang.Exception