Uses of Class
org.broadleafcommerce.common.web.BroadleafRequestContext
Packages that use BroadleafRequestContext
Package
Description
-
Uses of BroadleafRequestContext in org.broadleafcommerce.common.copy
Methods in org.broadleafcommerce.common.copy that return BroadleafRequestContextModifier and TypeMethodDescriptionprotected BroadleafRequestContextMultiTenantCopyContext.setupContext()Methods in org.broadleafcommerce.common.copy with parameters of type BroadleafRequestContextModifier and TypeMethodDescriptionprotected <G> CreateResponse<G>MultiTenantCopyContext.handleStandardEntity(Object instance, BroadleafRequestContext context, Class<?> instanceClass) protected voidMultiTenantCopyContext.tearDownContext(BroadleafRequestContext context) -
Uses of BroadleafRequestContext in org.broadleafcommerce.common.web
Methods in org.broadleafcommerce.common.web that return BroadleafRequestContextModifier and TypeMethodDescriptionBroadleafRequestContext.createLightWeightClone()In some cases, it is useful to utilize a clone of the context that does not include the actual container request and response information.static BroadleafRequestContextBroadleafRequestContext.createLightWeightCloneFromJson(String Json, jakarta.persistence.EntityManager em) Resurrect the BroadleafRequestContext state based on a JSON representation.static BroadleafRequestContextBroadleafRequestContext.getBroadleafRequestContext()Returns the current, thread-boundBroadleafRequestContext.static BroadleafRequestContextBroadleafRequestContext.getBroadleafRequestContext(boolean createIfAbsent) Returns the current, thread-boundBroadleafRequestContext, or null if one does not exist.Methods in org.broadleafcommerce.common.web with parameters of type BroadleafRequestContextModifier and TypeMethodDescriptionstatic voidBroadleafRequestContext.setBroadleafRequestContext(BroadleafRequestContext broadleafRequestContext) Initializes or sets theBroadleafRequestContexton the current thread. -
Uses of BroadleafRequestContext in org.broadleafcommerce.core.web.breadcrumbs
Methods in org.broadleafcommerce.core.web.breadcrumbs with parameters of type BroadleafRequestContextModifier and TypeMethodDescriptionprotected CategoryCategoryBreadcrumbServiceExtensionHandler.getCategoryFromCategoryAttribute(BroadleafRequestContext brc, String testUrl, Map<String, String[]> params) This indicates that we are on a category pageprotected CategoryCategoryBreadcrumbServiceExtensionHandler.getCategoryFromUrl(BroadleafRequestContext brc, String requestUrl, Map<String, String[]> params) protected CategoryCategoryBreadcrumbServiceExtensionHandler.getMatchingCategoryFromProduct(BroadleafRequestContext brc, String testUrl, Map<String, String[]> params) This is an efficient test that checks to see if the requestURI matches the product URI. -
Uses of BroadleafRequestContext in org.broadleafcommerce.openadmin.web.filter
Methods in org.broadleafcommerce.openadmin.web.filter with parameters of type BroadleafRequestContextModifier and TypeMethodDescriptionprotected voidBroadleafAdminRequestProcessor.prepareCatalog(org.springframework.web.context.request.WebRequest request, BroadleafRequestContext brc) protected voidBroadleafAdminRequestProcessor.prepareProfile(org.springframework.web.context.request.WebRequest request, BroadleafRequestContext brc) protected voidBroadleafAdminRequestProcessor.prepareSandBox(org.springframework.web.context.request.WebRequest request, BroadleafRequestContext brc)