Class TenantContextRequestConverter
java.lang.Object
com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter
com.broadleafcommerce.tenant.web.endpoint.TenantContextRequestConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,
,com.broadleafcommerce.data.tracking.core.context.ContextRequest> org.springframework.core.Ordered
public class TenantContextRequestConverter
extends com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter
Special ContextRequestConverter that still fulfills the
ContextRequest.getApplication()
contract for policy validation- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionTenantContextRequestConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> hydrators, ApplicationService<Application> applicationService, com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
Method Summary
Methods inherited from class com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter
getObjectMapper, validateRequestTenant
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
TenantContextRequestConverter
public TenantContextRequestConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> hydrators, ApplicationService<Application> applicationService, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<String,
com.broadleafcommerce.data.tracking.core.context.ContextRequest> - Overrides:
convert
in classcom.broadleafcommerce.data.tracking.core.web.ContextRequestConverter
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
- Overrides:
getOrder
in classcom.broadleafcommerce.data.tracking.core.web.ContextRequestConverter
-