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 PreferredLocalesAcceptLanguageHeader. getLocales()Returns thePreferredLocalesinstance that represents this header.Methods in org.forgerock.http.header with parameters of type PreferredLocales Modifier and Type Method Description static AcceptLanguageHeaderAcceptLanguageHeader. valueOf(PreferredLocales locales)Creates an accept language header representation for aPreferredLocalesinstance. -
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.ObjectWriterJson. makeLocalizingObjectWriter(com.fasterxml.jackson.databind.ObjectMapper mapper, PreferredLocales locales)Make an object writer that contains the provided locales for serialization ofLocalizableStringinstances. -
Uses of PreferredLocales in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return PreferredLocales Modifier and Type Method Description PreferredLocalesActionRequest. getPreferredLocales()PreferredLocalesCreateRequest. getPreferredLocales()PreferredLocalesDeleteRequest. getPreferredLocales()PreferredLocalesPatchRequest. getPreferredLocales()PreferredLocalesQueryRequest. getPreferredLocales()PreferredLocalesReadRequest. getPreferredLocales()PreferredLocalesRequest. getPreferredLocales()Get the locale preference for the request.PreferredLocalesUpdateRequest. getPreferredLocales()Methods in org.forgerock.json.resource with parameters of type PreferredLocales Modifier and Type Method Description ActionRequestActionRequest. setPreferredLocales(PreferredLocales preferredLocales)CreateRequestCreateRequest. setPreferredLocales(PreferredLocales preferredLocales)DeleteRequestDeleteRequest. setPreferredLocales(PreferredLocales preferredLocales)PatchRequestPatchRequest. setPreferredLocales(PreferredLocales preferredLocales)QueryRequestQueryRequest. setPreferredLocales(PreferredLocales preferredLocales)ReadRequestReadRequest. setPreferredLocales(PreferredLocales preferredLocales)RequestRequest. setPreferredLocales(PreferredLocales preferredLocales)Set the locale preference for the request.UpdateRequestUpdateRequest. 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 PreferredLocalesExternalRequestContext. localesThe 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.BuilderExternalRequestContext.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 StringLocaleUtils. 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 StringLocalizableString. toTranslatedString(PreferredLocales locales)Returns the contained string, translated if applicable.
-