## Uses of Interface
org.springframework.context.i18n.LocaleContext

- Packages that use LocaleContext
  Package | Description
  --- | ---
  org.springframework.context.i18n | Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.
  org.springframework.web.server | Core interfaces and classes for Spring's generic, reactive web support.
  org.springframework.web.server.adapter | Implementations to adapt to the underlying `org.springframework.http.client.reactive` reactive HTTP adapter and `HttpHandler`.
  org.springframework.web.server.i18n | Locale related support classes.
  org.springframework.web.servlet | Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
  org.springframework.web.servlet.i18n | Locale support classes for Spring's web MVC framework.

- - ### Uses of LocaleContext in org.springframework.context.i18n

    Subinterfaces of LocaleContext in org.springframework.context.i18n
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `TimeZoneAwareLocaleContext` Extension of `LocaleContext`, adding awareness of the current time zone.

    Classes in org.springframework.context.i18n that implement LocaleContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleLocaleContext` Simple implementation of the `LocaleContext` interface, always returning a specified `Locale`.
    `class` | `SimpleTimeZoneAwareLocaleContext` Simple implementation of the `TimeZoneAwareLocaleContext` interface, always returning a specified `Locale` and `TimeZone`.

    Methods in org.springframework.context.i18n that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `static LocaleContext` | LocaleContextHolder.`getLocaleContext()` Return the LocaleContext associated with the current thread, if any.

    Methods in org.springframework.context.i18n with parameters of type LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `static Locale` | LocaleContextHolder.`getLocale(LocaleContext localeContext)` Return the Locale associated with the given user context, if any, or the system default Locale otherwise.
    `static TimeZone` | LocaleContextHolder.`getTimeZone(LocaleContext localeContext)` Return the TimeZone associated with the given user context, if any, or the system default TimeZone otherwise.
    `static void` | LocaleContextHolder.`setLocaleContext(LocaleContext localeContext)` Associate the given LocaleContext with the current thread, not exposing it as inheritable for child threads.
    `static void` | LocaleContextHolder.`setLocaleContext(LocaleContext localeContext, boolean inheritable)` Associate the given LocaleContext with the current thread.

  - ### Uses of LocaleContext in org.springframework.web.server

    Methods in org.springframework.web.server that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `LocaleContext` | ServerWebExchange.`getLocaleContext()` Return the `LocaleContext` using the configured `LocaleContextResolver`.
    `LocaleContext` | ServerWebExchangeDecorator.`getLocaleContext()`

  - ### Uses of LocaleContext in org.springframework.web.server.adapter

    Methods in org.springframework.web.server.adapter that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `LocaleContext` | DefaultServerWebExchange.`getLocaleContext()`

  - ### Uses of LocaleContext in org.springframework.web.server.i18n

    Methods in org.springframework.web.server.i18n that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `LocaleContext` | FixedLocaleContextResolver.`resolveLocaleContext(ServerWebExchange exchange)`
    `LocaleContext` | LocaleContextResolver.`resolveLocaleContext(ServerWebExchange exchange)` Resolve the current locale context via the given exchange.
    `LocaleContext` | AcceptHeaderLocaleContextResolver.`resolveLocaleContext(ServerWebExchange exchange)`

    Methods in org.springframework.web.server.i18n with parameters of type LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | FixedLocaleContextResolver.`setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext)`
    `void` | LocaleContextResolver.`setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext)` Set the current locale context to the given one, potentially including a locale with associated time zone information.
    `void` | AcceptHeaderLocaleContextResolver.`setLocaleContext(ServerWebExchange exchange, LocaleContext locale)`

  - ### Uses of LocaleContext in org.springframework.web.servlet

    Methods in org.springframework.web.servlet that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `protected LocaleContext` | FrameworkServlet.`buildLocaleContext(HttpServletRequest request)` Build a LocaleContext for the given request, exposing the request's primary locale as current locale.
    `protected LocaleContext` | DispatcherServlet.`buildLocaleContext(HttpServletRequest request)` Build a LocaleContext for the given request, exposing the request's primary locale as current locale.
    `LocaleContext` | LocaleContextResolver.`resolveLocaleContext(HttpServletRequest request)` Resolve the current locale context via the given request.

    Methods in org.springframework.web.servlet with parameters of type LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | LocaleContextResolver.`setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext)` Set the current locale context to the given one, potentially including a locale with associated time zone information.

  - ### Uses of LocaleContext in org.springframework.web.servlet.i18n

    Methods in org.springframework.web.servlet.i18n that return LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `LocaleContext` | FixedLocaleResolver.`resolveLocaleContext(HttpServletRequest request)`
    `LocaleContext` | SessionLocaleResolver.`resolveLocaleContext(HttpServletRequest request)`
    `LocaleContext` | CookieLocaleResolver.`resolveLocaleContext(HttpServletRequest request)`

    Methods in org.springframework.web.servlet.i18n with parameters of type LocaleContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | FixedLocaleResolver.`setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext)`
    `void` | SessionLocaleResolver.`setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext)`
    `void` | CookieLocaleResolver.`setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext)`