Uses of Class
org.restlet.data.Metadata

Packages that use Metadata
org.restlet.data Information exchanged by components. 
org.restlet.resource Client and server resource classes. 
org.restlet.service Services used by applications and components. 
 

Uses of Metadata in org.restlet.data
 

Classes in org.restlet.data with type parameters of type Metadata
 class Preference<T extends Metadata>
          Metadata preference definition.
 

Subclasses of Metadata in org.restlet.data
 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.
 

Methods in org.restlet.data with type parameters of type Metadata
static
<T extends Metadata>
T
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.
 

Methods in org.restlet.data that return Metadata
 Metadata CharacterSet.getParent()
           
 Metadata Encoding.getParent()
           
abstract  Metadata Metadata.getParent()
          Returns the parent metadata if available or null.
 

Methods in org.restlet.data with parameters of type Metadata
 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 CharacterSet.includes(Metadata included)
          Indicates if a given character set is included in the current one.
 boolean Encoding.includes(Metadata included)
          Indicates if a given encoding is included in the current one.
 boolean Language.includes(Metadata included)
          Indicates if a given language 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.
 

Uses of Metadata in org.restlet.resource
 

Methods in org.restlet.resource with parameters of type Metadata
 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.
 

Uses of Metadata in org.restlet.service
 

Methods in org.restlet.service with type parameters of type Metadata
<T extends Metadata>
T
MetadataService.getMetadata(String extension, Class<T> metadataType)
          Returns the metadata associated to this extension.
 

Methods in org.restlet.service that return Metadata
 Metadata MetadataService.getMetadata(String extension)
          Returns the metadata associated to this extension.
 

Methods in org.restlet.service that return types with arguments of type Metadata
 List<Metadata> MetadataService.getAllMetadata(String extension)
          Returns all the metadata associated to this extension.
 

Methods in org.restlet.service with parameters of type Metadata
 void MetadataService.addExtension(String extension, Metadata metadata)
          Maps an extension to some metadata (media type, language or character set) to an extension.
 void MetadataService.addExtension(String extension, Metadata metadata, boolean preferred)
          Maps an extension to some metadata (media type, language or character set) to an extension.
 String MetadataService.getExtension(Metadata metadata)
          Returns the first extension mapping to this metadata.
 



Copyright © 2005-2013 Restlet.