public class ProductHandlerMapping
extends org.broadleafcommerce.common.web.BLCAbstractHandlerMapping
Product,
CatalogService| Modifier and Type | Field and Description |
|---|---|
String |
charEncoding |
static String |
CURRENT_PRODUCT_ATTRIBUTE_NAME |
protected String |
defaultTemplateName |
protected boolean |
useSku |
| Constructor and Description |
|---|
ProductHandlerMapping() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCategoryResolutionUsingIdParam() |
boolean |
allowProductResolutionUsingIdParam() |
protected Product |
findProductUsingIdParam(org.broadleafcommerce.common.web.BroadleafRequestContext context) |
protected Product |
findProductUsingUrl(org.broadleafcommerce.common.web.BroadleafRequestContext context) |
String |
getDefaultTemplateName() |
protected Object |
getHandlerInternal(javax.servlet.http.HttpServletRequest request) |
void |
setDefaultTemplateName(String defaultTemplateName) |
boolean |
shouldSkipExecution(org.broadleafcommerce.common.web.BroadleafRequestContext context) |
getControllerName, getDefaultHandler, setControllerNameadaptInterceptor, detectMappedInterceptors, extendInterceptors, getAdaptedInterceptors, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext@Value(value="${solr.index.use.sku}")
protected boolean useSku
protected String defaultTemplateName
public static final String CURRENT_PRODUCT_ATTRIBUTE_NAME
@Value(value="${request.uri.encoding}")
public String charEncoding
protected Object getHandlerInternal(javax.servlet.http.HttpServletRequest request) throws Exception
getHandlerInternal in class org.springframework.web.servlet.handler.AbstractHandlerMappingExceptionprotected Product findProductUsingIdParam(org.broadleafcommerce.common.web.BroadleafRequestContext context) throws org.springframework.web.bind.ServletRequestBindingException
org.springframework.web.bind.ServletRequestBindingExceptionprotected Product findProductUsingUrl(org.broadleafcommerce.common.web.BroadleafRequestContext context) throws org.springframework.web.bind.ServletRequestBindingException, UnsupportedEncodingException
org.springframework.web.bind.ServletRequestBindingExceptionUnsupportedEncodingExceptionpublic String getDefaultTemplateName()
public void setDefaultTemplateName(String defaultTemplateName)
public boolean allowProductResolutionUsingIdParam()
public boolean allowCategoryResolutionUsingIdParam()
public boolean shouldSkipExecution(org.broadleafcommerce.common.web.BroadleafRequestContext context)
throws org.springframework.web.bind.ServletRequestBindingException
org.springframework.web.bind.ServletRequestBindingExceptionCopyright © 2016. All rights reserved.