Class HttpUserPortalContext

java.lang.Object
org.exoplatform.portal.mop.user.HttpUserPortalContext
All Implemented Interfaces:
UserPortalContext

public class HttpUserPortalContext extends Object implements UserPortalContext
  • Constructor Details

    • HttpUserPortalContext

      public HttpUserPortalContext(jakarta.servlet.http.HttpServletRequest servletRequest)
  • Method Details

    • getBundle

      public ResourceBundle getBundle(UserNavigation navigation)
      Description copied from interface: UserPortalContext
      Provide an opportunity to use a resource bundle for a specified navigation. It no such bundle can be found then null can be returned.
      Specified by:
      getBundle in interface UserPortalContext
      Parameters:
      navigation - the navigation that will be localized
      Returns:
      the resource bundle to use
    • getUserLocale

      public Locale getUserLocale()
      Description copied from interface: UserPortalContext
      Returns the user locale.
      Specified by:
      getUserLocale in interface UserPortalContext
      Returns:
      the user locale