Interface HttpLocaleResolutionConfiguration

All Superinterfaces:
LocaleResolutionConfiguration
All Known Implementing Classes:
HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties

public interface HttpLocaleResolutionConfiguration extends LocaleResolutionConfiguration
Configuration for Locale Resolution in a HTTP Request.
Since:
2.3.0
Author:
Sergio del Amo
  • Method Details

    • getSessionAttribute

      @NonNull @NonNull Optional<String> getSessionAttribute()
      Returns:
      The key in the session that stores the locale
    • getCookieName

      @NonNull @NonNull Optional<String> getCookieName()
      Returns:
      The name of the cookie that contains the locale.
    • isHeader

      boolean isHeader()
      Returns:
      True if the accept header should be searched for the locale.