public class FriendlyURLServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Class and Description |
---|---|
protected static class |
FriendlyURLServlet.Redirect |
Constructor and Description |
---|
FriendlyURLServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getFriendlyURL(String pathInfo)
Deprecated.
As of Judson (7.1.x), replaced by
com.liferay.taglib.util.FriendlyURLUtil.getFriendlyURL(
HttpServletRequest, javax.servlet.jsp.PageContext) |
protected com.liferay.portal.kernel.struts.LastPath |
getLastPath(javax.servlet.http.HttpServletRequest request,
String pathInfo) |
protected String |
getPathInfo(javax.servlet.http.HttpServletRequest request) |
protected FriendlyURLServlet.Redirect |
getRedirect(javax.servlet.http.HttpServletRequest request,
String path) |
protected Object[] |
getRedirect(javax.servlet.http.HttpServletRequest request,
String path,
String mainPath,
Map<String,String[]> params)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
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, service
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
service
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
@Deprecated protected String getFriendlyURL(String pathInfo)
com.liferay.taglib.util.FriendlyURLUtil.getFriendlyURL(
HttpServletRequest, javax.servlet.jsp.PageContext)
protected com.liferay.portal.kernel.struts.LastPath getLastPath(javax.servlet.http.HttpServletRequest request, String pathInfo)
protected String getPathInfo(javax.servlet.http.HttpServletRequest request)
protected FriendlyURLServlet.Redirect getRedirect(javax.servlet.http.HttpServletRequest request, String path) throws Exception
Exception
@Deprecated protected Object[] getRedirect(javax.servlet.http.HttpServletRequest request, String path, String mainPath, Map<String,String[]> params) throws Exception
Exception
protected Locale setAlternativeLayoutFriendlyURL(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Layout layout, String friendlyURL) throws Exception
Exception