Class CustomerContextRequestHydrator
java.lang.Object
com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
com.broadleafcommerce.customer.web.endpoint.CustomerContextRequestHydrator
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator
,org.springframework.core.Ordered
public class CustomerContextRequestHydrator
extends com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
Hydrates the
customerContextId
to the tenantId
if it was not provided in the
ContextRequest
.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
determineCatalog, fetchFromCache, setApplicationService, setAttributesConverter, setCatalogService, setDataRouteReference, setEnvironment, setupCurrentCatalog, setupSiteInheritanceLines
-
Constructor Details
-
CustomerContextRequestHydrator
public CustomerContextRequestHydrator()
-
-
Method Details
-
hydrate
public com.broadleafcommerce.data.tracking.core.context.ContextRequest hydrate(com.broadleafcommerce.data.tracking.core.context.ContextRequest dehydrated) - Specified by:
hydrate
in interfacecom.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator
- Overrides:
hydrate
in classcom.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
-
getOrder
public int getOrder()
-