Class SeoCatalogUrlServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.ofbiz.product.category.SeoCatalogUrlServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class SeoCatalogUrlServlet extends javax.servlet.http.HttpServlet
SeoCatalogUrlServlet.java- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CATALOG_URL_MOUNT_POINT
static java.lang.String
CATEGORY_REQUEST
static java.lang.String
module
static java.lang.String
PRODUCT_REQUEST
-
Constructor Summary
Constructors Constructor Description SeoCatalogUrlServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
makeCatalogUrl(java.lang.String contextPath, java.util.List<java.lang.String> crumb, java.lang.String productId, java.lang.String currentCategoryId, java.lang.String previousCategoryId)
static java.lang.String
makeCatalogUrl(javax.servlet.http.HttpServletRequest request, java.lang.String productId, java.lang.String currentCategoryId, java.lang.String previousCategoryId)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
CATALOG_URL_MOUNT_POINT
public static final java.lang.String CATALOG_URL_MOUNT_POINT
- See Also:
- Constant Field Values
-
PRODUCT_REQUEST
public static final java.lang.String PRODUCT_REQUEST
- See Also:
- Constant Field Values
-
CATEGORY_REQUEST
public static final java.lang.String CATEGORY_REQUEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
HttpServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
-
makeCatalogUrl
public static java.lang.String makeCatalogUrl(javax.servlet.http.HttpServletRequest request, java.lang.String productId, java.lang.String currentCategoryId, java.lang.String previousCategoryId)
-
makeCatalogUrl
public static java.lang.String makeCatalogUrl(java.lang.String contextPath, java.util.List<java.lang.String> crumb, java.lang.String productId, java.lang.String currentCategoryId, java.lang.String previousCategoryId)
-
-