|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Preference | |
---|---|
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 | |
---|---|
List<Preference<CharacterSet>> |
ClientInfo.getAcceptedCharacterSets()
Returns the modifiable list of character set preferences. |
List<Preference<Encoding>> |
ClientInfo.getAcceptedEncodings()
Returns the modifiable list of encoding preferences. |
List<Preference<Language>> |
ClientInfo.getAcceptedLanguages()
Returns the modifiable list of language preferences. |
List<Preference<MediaType>> |
ClientInfo.getAcceptedMediaTypes()
Returns the modifiable list of media type preferences. |
Method parameters in org.restlet.data with type arguments of type Preference | ||
---|---|---|
static
|
ClientInfo.getPreferredMetadata(List<T> supported,
List<Preference<T>> preferences)
Returns the preferred metadata taking into account both metadata supported by the server and client preferences. |
|
void |
ClientInfo.setAcceptedCharacterSets(List<Preference<CharacterSet>> acceptedCharacterSets)
Sets the character set preferences. |
|
void |
ClientInfo.setAcceptedEncodings(List<Preference<Encoding>> acceptedEncodings)
Sets the encoding preferences. |
|
void |
ClientInfo.setAcceptedLanguages(List<Preference<Language>> acceptedLanguages)
Sets the language preferences. |
|
void |
ClientInfo.setAcceptedMediaTypes(List<Preference<MediaType>> acceptedMediaTypes)
Sets the media type preferences. |
Uses of Preference in org.restlet.service |
---|
Method parameters in org.restlet.service with type arguments of type Preference | |
---|---|
void |
ConverterService.updatePreferences(List<Preference<MediaType>> preferences,
Class<?> entity)
Updates the media type preferences with available conversion capabilities for the given entity class. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |