Class PrDefaultContextInformationLoader
java.lang.Object
de.hybris.platform.partyroletmfwebservices.context.impl.PrDefaultContextInformationLoader
- All Implemented Interfaces:
PrContextInformationLoader
Default context information loader implementation.
- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionPrDefaultContextInformationLoader(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService, de.hybris.platform.commerceservices.i18n.CommerceCommonI18NService commerceCommonI18NService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.commerceservices.i18n.CommerceCommonI18NServiceprotected de.hybris.platform.servicelayer.i18n.CommonI18NServicesetLanguageFromRequest(javax.servlet.http.HttpServletRequest request) Sets current language based on information from request.
-
Constructor Details
-
PrDefaultContextInformationLoader
public PrDefaultContextInformationLoader(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService, de.hybris.platform.commerceservices.i18n.CommerceCommonI18NService commerceCommonI18NService)
-
-
Method Details
-
setLanguageFromRequest
Description copied from interface:PrContextInformationLoaderSets current language based on information from request.- Specified by:
setLanguageFromRequestin interfacePrContextInformationLoader- Parameters:
request- should contain language information- Returns:
- language set as current
-
getCommonI18NService
protected de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService() -
getCommerceCommonI18NService
protected de.hybris.platform.commerceservices.i18n.CommerceCommonI18NService getCommerceCommonI18NService()
-