| Package | Description | 
|---|---|
| org.restlet.data | 
 Information exchanged by components. 
 | 
| org.restlet.service | 
 Services used by applications and components. 
 | 
| Modifier and Type | Method and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Metadata> | 
ClientInfo.getPreferredMetadata(java.util.List<T> supported,
                    java.util.List<Preference<T>> preferences)
Returns the preferred metadata taking into account both metadata
 supported by the server and client preferences. 
 | 
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. 
 | 
| Modifier and Type | Method and 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. 
 | 
Copyright © 2005-2024 Restlet.