Liferay 6.2-ce-ga5

com.liferay.portal.servlet
Class FriendlyURLServlet

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

Constructor Summary
FriendlyURLServlet()
           
 
Method Summary
protected  String getFriendlyURL(String pathInfo)
           
protected  String getPathInfo(javax.servlet.http.HttpServletRequest request)
           
protected  Object[] getRedirect(javax.servlet.http.HttpServletRequest request, String path, String mainPath, Map<String,String[]> params)
           
 void init(javax.servlet.ServletConfig servletConfig)
           
protected  boolean matches(Layout layout, String friendlyURL)
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  Locale setAlternativeLayoutFriendlyURL(javax.servlet.http.HttpServletRequest request, Layout layout, String friendlyURL)
           
 
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 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

getFriendlyURL

protected String getFriendlyURL(String pathInfo)

getPathInfo

protected String getPathInfo(javax.servlet.http.HttpServletRequest request)

getRedirect

protected Object[] getRedirect(javax.servlet.http.HttpServletRequest request,
                               String path,
                               String mainPath,
                               Map<String,String[]> params)
                        throws Exception
Throws:
Exception

setAlternativeLayoutFriendlyURL

protected Locale setAlternativeLayoutFriendlyURL(javax.servlet.http.HttpServletRequest request,
                                                 Layout layout,
                                                 String friendlyURL)
                                          throws Exception
Throws:
Exception

matches

protected boolean matches(Layout layout,
                          String friendlyURL)

Liferay 6.2-ce-ga5