Interface PersistentLocale

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      get()
      Gets the locale obtained from the request, or null if the response did not indicate a specific locale (in which case the active locale may have been determined from request headers).
      boolean isSet()  
      void  locale)
      Sets the locale value that will be encoded into the response.
    • Method Detail

      • set

        void  locale)
        Sets the locale value that will be encoded into the response. This must match a locale configured via SymbolConstants.SUPPORTED_LOCALES.
        Throws:
        - if the locale is not valid
      • get

         get()
        Gets the locale obtained from the request, or null if the response did not indicate a specific locale (in which case the active locale may have been determined from request headers).
      • isSet

        boolean isSet()
        Returns:
        true if a locale was present in the request URL; false otherwise.