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 thecustomerContextId
to thetenantId
if it was not provided in theContextRequest
.
-
-
Constructor Summary
Constructors Constructor Description CustomerContextRequestHydrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
com.broadleafcommerce.data.tracking.core.context.ContextRequest
hydrate(com.broadleafcommerce.data.tracking.core.context.ContextRequest dehydrated)
-
-
-
Method Detail
-
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()
-
-