Class BaDefaultContextInformationLoader

java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v1.context.impl.BaDefaultContextInformationLoader
All Implemented Interfaces:
BaContextInformationLoader

public class BaDefaultContextInformationLoader extends Object implements BaContextInformationLoader
Default context information loader implementation.
Since:
2111
  • Constructor Details

    • BaDefaultContextInformationLoader

      public BaDefaultContextInformationLoader(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService, de.hybris.platform.commerceservices.i18n.CommerceCommonI18NService commerceCommonI18NService)
  • Method Details

    • setLanguageFromRequest

      public LanguageModel setLanguageFromRequest(javax.servlet.http.HttpServletRequest request)
      Description copied from interface: BaContextInformationLoader
      Sets current language based on information from request.
      Specified by:
      setLanguageFromRequest in interface BaContextInformationLoader
      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()