Class RequestLocalization


  • @Validated
    public class RequestLocalization
    extends Object
    Localization settings
    • Constructor Detail

      • RequestLocalization

        public RequestLocalization()
    • Method Detail

      • getTimezone

        public String getTimezone()
        A valid timezone id supported by @see java.time.ZoneId
        Returns:
        timezone
      • setTimezone

        public void setTimezone​(String timezone)
      • getLocales

        public List<String> getLocales()
        A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only.
        Returns:
        locales
      • setLocales

        public void setLocales​(List<String> locales)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object