Uses of Class
org.forgerock.util.i18n.PreferredLocales
Packages that use PreferredLocales
Package
Description
Processes HTTP message header fields.
Miscellaneous utility classes.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Utility classes for dealing with internationalization (i18n).
-
Uses of PreferredLocales in org.forgerock.http.header
Methods in org.forgerock.http.header that return PreferredLocalesModifier and TypeMethodDescriptionAcceptLanguageHeader.getLocales()Returns thePreferredLocalesinstance that represents this header.Methods in org.forgerock.http.header with parameters of type PreferredLocalesModifier and TypeMethodDescriptionstatic 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 PreferredLocalesModifier and TypeMethodDescriptionstatic 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 PreferredLocalesModifier and TypeMethodDescriptionActionRequest.getPreferredLocales()CreateRequest.getPreferredLocales()DeleteRequest.getPreferredLocales()PatchRequest.getPreferredLocales()QueryRequest.getPreferredLocales()ReadRequest.getPreferredLocales()Request.getPreferredLocales()Get the locale preference for the request.UpdateRequest.getPreferredLocales()Methods in org.forgerock.json.resource with parameters of type PreferredLocalesModifier 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.util.i18n
Methods in org.forgerock.util.i18n with parameters of type PreferredLocalesModifier and TypeMethodDescriptionLocalizableString.toTranslatedString(PreferredLocales locales) Returns the contained string, translated if applicable.