Uses of Class
org.forgerock.util.i18n.PreferredLocales
-
Packages that use PreferredLocales Package Description org.forgerock.am.iot This package contains all classes pertaining to AM's IoT functionality.org.forgerock.http.header Processes HTTP message header fields.org.forgerock.http.util Miscellaneous utility classes.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.openam.auth.node.api This package contains the API for writing authentication nodes.org.forgerock.selfservice.stages.utils This package contains some utility classes helpful for stage creators.org.forgerock.util.i18n Utility classes for dealing with internationalization (i18n). -
-
Uses of PreferredLocales in org.forgerock.am.iot
Methods in org.forgerock.am.iot with parameters of type PreferredLocales Modifier and Type Method Description List<OutcomeProvider.Outcome>
IotAuthenticationNode.AuthenticationOutcomeProvider. getOutcomes(PreferredLocales locales)
List<OutcomeProvider.Outcome>
IotRegistrationNode.RegistrationOutcomeProvider. getOutcomes(PreferredLocales locales)
-
Uses of PreferredLocales in org.forgerock.http.header
Methods in org.forgerock.http.header that return PreferredLocales Modifier and Type Method Description PreferredLocales
AcceptLanguageHeader. getLocales()
Returns thePreferredLocales
instance that represents this header.Methods in org.forgerock.http.header with parameters of type PreferredLocales Modifier and Type Method Description static AcceptLanguageHeader
AcceptLanguageHeader. valueOf(PreferredLocales locales)
Creates an accept language header representation for aPreferredLocales
instance. -
Uses of PreferredLocales in org.forgerock.http.util
Methods in org.forgerock.http.util with parameters of type PreferredLocales Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectWriter
Json. makeLocalizingObjectWriter(com.fasterxml.jackson.databind.ObjectMapper mapper, PreferredLocales locales)
Make an object writer that contains the provided locales for serialization ofLocalizableString
instances. -
Uses of PreferredLocales in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return PreferredLocales Modifier and Type Method Description PreferredLocales
ActionRequest. getPreferredLocales()
PreferredLocales
CreateRequest. getPreferredLocales()
PreferredLocales
DeleteRequest. getPreferredLocales()
PreferredLocales
PatchRequest. getPreferredLocales()
PreferredLocales
QueryRequest. getPreferredLocales()
PreferredLocales
ReadRequest. getPreferredLocales()
PreferredLocales
Request. getPreferredLocales()
Get the locale preference for the request.PreferredLocales
UpdateRequest. getPreferredLocales()
Methods in org.forgerock.json.resource with parameters of type PreferredLocales Modifier and Type Method Description ActionRequest
ActionRequest. setPreferredLocales(PreferredLocales preferredLocales)
CreateRequest
CreateRequest. setPreferredLocales(PreferredLocales preferredLocales)
DeleteRequest
DeleteRequest. setPreferredLocales(PreferredLocales preferredLocales)
PatchRequest
PatchRequest. setPreferredLocales(PreferredLocales preferredLocales)
QueryRequest
QueryRequest. setPreferredLocales(PreferredLocales preferredLocales)
ReadRequest
ReadRequest. setPreferredLocales(PreferredLocales preferredLocales)
Request
Request. setPreferredLocales(PreferredLocales preferredLocales)
Set the locale preference for the request.UpdateRequest
UpdateRequest. setPreferredLocales(PreferredLocales preferredLocales)
-
Uses of PreferredLocales in org.forgerock.openam.auth.node.api
Fields in org.forgerock.openam.auth.node.api declared as PreferredLocales Modifier and Type Field Description PreferredLocales
ExternalRequestContext. locales
The preferred locales for the request.Methods in org.forgerock.openam.auth.node.api with parameters of type PreferredLocales Modifier and Type Method Description List<OutcomeProvider.Outcome>
AbstractDecisionNode.OutcomeProvider. getOutcomes(PreferredLocales locales)
List<OutcomeProvider.Outcome>
OutcomeProvider. getOutcomes(PreferredLocales locales, JsonValue nodeAttributes)
Returns a ordered list of possible node outcomes with localised display names.List<OutcomeProvider.Outcome>
SingleOutcomeNode.OutcomeProvider. getOutcomes(PreferredLocales locales)
List<OutcomeProvider.Outcome>
StaticOutcomeProvider. getOutcomes(PreferredLocales locales)
Returns a ordered list of possible node outcomes with localised display names.default List<OutcomeProvider.Outcome>
StaticOutcomeProvider. getOutcomes(PreferredLocales locales, JsonValue nodeAttributes)
ExternalRequestContext.Builder
ExternalRequestContext.Builder. locales(PreferredLocales locales)
Sets the preferred locales for the request. -
Uses of PreferredLocales in org.forgerock.selfservice.stages.utils
Methods in org.forgerock.selfservice.stages.utils with parameters of type PreferredLocales Modifier and Type Method Description static String
LocaleUtils. getTranslationFromLocaleMap(PreferredLocales preferredLocales, Map<Locale,String> translations)
Using the user's preferred locales (for example, from the "Accept-Language" header in the HTTP context), select the most optimal (string) translation from the map. -
Uses of PreferredLocales in org.forgerock.util.i18n
Methods in org.forgerock.util.i18n with parameters of type PreferredLocales Modifier and Type Method Description String
LocalizableString. toTranslatedString(PreferredLocales locales)
Returns the contained string, translated if applicable.
-