Uses of Class
org.forgerock.util.i18n.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
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.util.i18n
Modifier and TypeMethodDescriptionLocalizableString.toTranslatedString
(PreferredLocales locales) Returns the contained string, translated if applicable.