public class CategoryHandlerMapping extends BLCAbstractHandlerMapping
Category,
CatalogService| Modifier and Type | Field and Description |
|---|---|
String |
charEncoding |
static String |
CURRENT_CATEGORY_ATTRIBUTE_NAME |
protected String |
defaultTemplateName |
envBEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, LOOKUP_PATH, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE| Constructor and Description |
|---|
CategoryHandlerMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected Category |
findCategoryUsingIdParam(javax.servlet.http.HttpServletRequest request) |
protected Category |
findCategoryUsingUrl(javax.servlet.http.HttpServletRequest request) |
String |
getDefaultTemplateName() |
protected Object |
getHandlerInternal(javax.servlet.http.HttpServletRequest request) |
void |
setDefaultTemplateName(String defaultTemplateName) |
allowCategoryResolutionUsingIdParam, allowProductResolutionUsingIdParam, getControllerName, getDefaultHandler, setControllerNameadaptInterceptor, detectMappedInterceptors, extendInterceptors, formatMappingName, getAdaptedInterceptors, getCorsConfiguration, getCorsHandlerExecutionChain, getCorsProcessor, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, hasCorsConfigurationSource, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final String CURRENT_CATEGORY_ATTRIBUTE_NAME
protected String defaultTemplateName
@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 Category findCategoryUsingIdParam(javax.servlet.http.HttpServletRequest request) throws org.springframework.web.bind.ServletRequestBindingException
org.springframework.web.bind.ServletRequestBindingExceptionprotected Category findCategoryUsingUrl(javax.servlet.http.HttpServletRequest request) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String getDefaultTemplateName()
public void setDefaultTemplateName(String defaultTemplateName)
Copyright © 2022. All rights reserved.