com.liferay.portal.servlet
Class FriendlyURLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.liferay.portal.servlet.FriendlyURLServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class FriendlyURLServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected String |
getRedirect(javax.servlet.http.HttpServletRequest request,
String path,
String mainPath,
Map<String,String[]> params)
|
void |
init(javax.servlet.ServletConfig servletConfig)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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 |
FriendlyURLServlet
public FriendlyURLServlet()
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
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
getRedirect
protected String getRedirect(javax.servlet.http.HttpServletRequest request,
String path,
String mainPath,
Map<String,String[]> params)
throws Exception
- Throws:
Exception