Uses of Class
org.forgerock.util.i18n.PreferredLocales
Package
Description
This package contains all classes pertaining to AM's IoT functionality.
Processes HTTP message header fields.
Miscellaneous utility classes.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
This package contains the API for writing authentication nodes.
This package contains some utility classes helpful for stage creators.
Utility classes for dealing with internationalization (i18n).
-
Uses of PreferredLocales in org.forgerock.am.iot
Modifier and TypeMethodDescriptionIotAuthenticationNode.AuthenticationOutcomeProvider.getOutcomes
(PreferredLocales locales) IotRegistrationNode.RegistrationOutcomeProvider.getOutcomes
(PreferredLocales locales) -
Uses of PreferredLocales in org.forgerock.http.header
Modifier and TypeMethodDescriptionAcceptLanguageHeader.getLocales()
Returns thePreferredLocales
instance that represents this header.Modifier and TypeMethodDescriptionstatic AcceptLanguageHeader
AcceptLanguageHeader.valueOf
(PreferredLocales locales) Creates an accept language header representation for aPreferredLocales
instance. -
Uses of PreferredLocales in org.forgerock.http.util
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionActionRequest.getPreferredLocales()
CreateRequest.getPreferredLocales()
DeleteRequest.getPreferredLocales()
PatchRequest.getPreferredLocales()
QueryRequest.getPreferredLocales()
ReadRequest.getPreferredLocales()
Request.getPreferredLocales()
Get the locale preference for the request.UpdateRequest.getPreferredLocales()
Modifier and TypeMethodDescriptionActionRequest.setPreferredLocales
(PreferredLocales preferredLocales) CreateRequest.setPreferredLocales
(PreferredLocales preferredLocales) DeleteRequest.setPreferredLocales
(PreferredLocales preferredLocales) PatchRequest.setPreferredLocales
(PreferredLocales preferredLocales) QueryRequest.setPreferredLocales
(PreferredLocales preferredLocales) ReadRequest.setPreferredLocales
(PreferredLocales preferredLocales) Request.setPreferredLocales
(PreferredLocales preferredLocales) Set the locale preference for the request.UpdateRequest.setPreferredLocales
(PreferredLocales preferredLocales) -
Uses of PreferredLocales in org.forgerock.openam.auth.node.api
Modifier and TypeFieldDescriptionfinal PreferredLocales
ExternalRequestContext.locales
The preferred locales for the request.Modifier and TypeMethodDescriptionAbstractDecisionNode.OutcomeProvider.getOutcomes
(PreferredLocales locales) OutcomeProvider.getOutcomes
(PreferredLocales locales, JsonValue nodeAttributes) Returns a ordered list of possible node outcomes with localised display names.SingleOutcomeNode.OutcomeProvider.getOutcomes
(PreferredLocales locales) 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.locales
(PreferredLocales locales) Sets the preferred locales for the request. -
Uses of PreferredLocales in org.forgerock.selfservice.stages.utils
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionLocalizableString.toTranslatedString
(PreferredLocales locales) Returns the contained string, translated if applicable.