| Package | Description | 
|---|---|
| org.restlet.client.data | 
 Information exchanged by components. 
 | 
| org.restlet.client.resource | 
 Client and server resource classes. 
 | 
| org.restlet.client.service | 
 Services used by applications and components. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Preference<T extends Metadata>
Metadata preference definition. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CharacterSet
Metadata used to specify the character set of textual representations. 
 | 
class  | 
Encoding
Modifier of a representation's media type. 
 | 
class  | 
Language
Language used in representations and preferences. 
 | 
class  | 
MediaType
Metadata used to specify the format of representations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Metadata | 
Encoding.getParent()  | 
Metadata | 
CharacterSet.getParent()  | 
abstract Metadata | 
Metadata.getParent()
Returns the parent metadata if available or null. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ClientInfo.accept(Metadata... metadata)
Updates the client preferences to accept the given metadata (media types,
 character sets, etc.) with a 1.0 quality in addition to existing ones. 
 | 
void | 
ClientInfo.accept(Metadata metadata,
      float quality)
Updates the client preferences to accept the given metadata (media types,
 character sets, etc.) with a given quality in addition to existing ones. 
 | 
boolean | 
Language.includes(Metadata included)
Indicates if a given language is included in the current one. 
 | 
boolean | 
Encoding.includes(Metadata included)
Indicates if a given encoding is included in the current one. 
 | 
boolean | 
CharacterSet.includes(Metadata included)
Indicates if a given character set is included in the current one. 
 | 
abstract boolean | 
Metadata.includes(Metadata included)
Indicates if a given metadata is included in the current one. 
 | 
boolean | 
MediaType.includes(Metadata included)
Indicates if a given media type is included in the current one @see
  
MediaType.includes(Metadata, boolean). | 
boolean | 
MediaType.includes(Metadata included,
        boolean ignoreParameters)
Indicates if a given media type is included in the current one @see
  
MediaType.includes(Metadata, boolean). | 
boolean | 
Metadata.isCompatible(Metadata otherMetadata)
Checks if this metadata is compatible with the given metadata. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ClientResource.accept(Metadata... metadata)
Updates the client preferences to accept the given metadata (media types,
 character sets, etc.) with a 1.0 quality in addition to existing ones. 
 | 
void | 
ClientResource.accept(Metadata metadata,
      float quality)
Updates the client preferences to accept the given metadata (media types,
 character sets, etc.) with a given quality in addition to existing ones. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Metadata | 
MetadataService.getMetadata(java.lang.String extension)
Returns the metadata associated to this extension. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Metadata> | 
MetadataService.getAllMetadata(java.lang.String extension)
Returns all the metadata associated to this extension. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MetadataService.addExtension(java.lang.String extension,
            Metadata metadata)
Maps an extension to some metadata (media type, language or character
 set) to an extension. 
 | 
void | 
MetadataService.addExtension(java.lang.String extension,
            Metadata metadata,
            boolean preferred)
Maps an extension to some metadata (media type, language or character
 set) to an extension. 
 | 
java.lang.String | 
MetadataService.getExtension(Metadata metadata)
Returns the first extension mapping to this metadata. 
 | 
Copyright © 2005-2024 Restlet.