Class CatalogUrlServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.ofbiz.product.category.CatalogUrlServlet
-
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
public class CatalogUrlServlet extends HttpServlet
ControlServlet.java - Master servlet for the web application.- 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 CatalogUrlServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(HttpServletRequest request, HttpServletResponse response)
void
doPost(HttpServletRequest request, 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(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
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
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(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
- Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
java.io.IOException
- See Also:
HttpServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
- Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
java.io.IOException
- See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
-
makeCatalogUrl
public static java.lang.String makeCatalogUrl(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)
-
-