public class FriendlyURLServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
FriendlyURLServlet() |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Locale |
setAlternativeLayoutFriendlyURL(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Layout layout,
String friendlyURL) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
service in class javax.servlet.http.HttpServletIOExceptionjavax.servlet.ServletExceptionprotected String getPathInfo(javax.servlet.http.HttpServletRequest request)
protected Object[] getRedirect(javax.servlet.http.HttpServletRequest request, String path, String mainPath, Map<String,String[]> params) throws Exception
Exception