Uses of Class
org.restlet.data.Preference
-
Packages that use Preference Package Description org.restlet.data Information exchanged by components.org.restlet.service Services used by applications and components. -
-
Uses of Preference in org.restlet.data
Methods in org.restlet.data that return types with arguments of type Preference Modifier and Type Method Description java.util.List<Preference<CharacterSet>>
ClientInfo. getAcceptedCharacterSets()
Returns the modifiable list of character set preferences.java.util.List<Preference<Encoding>>
ClientInfo. getAcceptedEncodings()
Returns the modifiable list of encoding preferences.java.util.List<Preference<Language>>
ClientInfo. getAcceptedLanguages()
Returns the modifiable list of language preferences.java.util.List<Preference<MediaType>>
ClientInfo. getAcceptedMediaTypes()
Returns the modifiable list of media type preferences.java.util.List<Preference<MediaType>>
ClientInfo. getAcceptedPatches()
Returns the modifiable list of patch preferences.Method parameters in org.restlet.data with type arguments of type Preference Modifier and Type Method Description void
ClientInfo. setAcceptedCharacterSets(java.util.List<Preference<CharacterSet>> acceptedCharacterSets)
Sets the character set preferences.void
ClientInfo. setAcceptedEncodings(java.util.List<Preference<Encoding>> acceptedEncodings)
Sets the encoding preferences.void
ClientInfo. setAcceptedLanguages(java.util.List<Preference<Language>> acceptedLanguages)
Sets the language preferences.void
ClientInfo. setAcceptedMediaTypes(java.util.List<Preference<MediaType>> acceptedMediaTypes)
Sets the media type preferences.void
ClientInfo. setAcceptedPatches(java.util.List<Preference<MediaType>> acceptedPatches)
Sets the patch preferences. -
Uses of Preference in org.restlet.service
Method parameters in org.restlet.service with type arguments of type Preference Modifier and Type Method Description void
ConverterService. updatePreferences(java.util.List<Preference<MediaType>> preferences, java.lang.Class<?> entity)
Updates the media type preferences with available conversion capabilities for the given entity class.
-