DefaultLocaleResolver
resolves the request's Locale by
calling the ServletRequest.getLocales()
method, which generally
will be the Servlet Container's implementation of this method and thus be
based on the client's Accept-Language
header.Locale
assumed by this instance.ResourceBundle
for the given locale.ResourceBundle
for the given locale.RequestLocaleResolver
should be used instead.RequestLocaleResolver
service interface may be implemented by a
service registered under this name to allow the resolution of the request
Locale
to apply.ServletRequest.getLocales()
method collected in a
List
.null
but possiby empty list of
Locale
instances to consider for localization of the current
request.null
but possibly empty list of
Locale
instances to consider for localization of the current
request.ResourceBundleProvider
service interface defines the API
for a service, which is capable of returned ResourceBundle
for
given any Locale
.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.