Uses of Class
org.restlet.data.Metadata
Packages that use Metadata
Package
Description
Information exchanged by components.
Supports Restlet applications.
Supports HTTP header parsing and formatting.
Client and server resource classes.
Services used by applications and components.
-
Uses of Metadata in org.restlet.data
Classes in org.restlet.data with type parameters of type MetadataModifier and TypeClassDescriptionfinal classPreference<T extends Metadata>Metadata preference definition.Subclasses of Metadata in org.restlet.dataModifier and TypeClassDescriptionfinal classMetadata used to specify the character set of textual representations.final classModifier of a representation's media type.final classLanguage used in representations and preferences.final classMetadata used to specify the format of representations.Methods in org.restlet.data with type parameters of type MetadataModifier and TypeMethodDescriptionstatic <T extends Metadata>
TClientInfo.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 MetadataModifier and TypeMethodDescriptionCharacterSet.getParent()Encoding.getParent()abstract MetadataMetadata.getParent()Returns the parent metadata if available or null.Methods in org.restlet.data with parameters of type MetadataModifier and TypeMethodDescriptionvoidUpdates the client preferences to accept the given metadata (media types, character sets, etc.) with a 1.0 quality in addition to existing ones.voidUpdates the client preferences to accept the given metadata (media types, character sets, etc.) with a given quality in addition to existing ones.booleanIndicates if a given character set is included in the current one.booleanIndicates if a given encoding is included in the current one.booleanIndicates if a given language is included in the current one.booleanIndicates if a given media type is included in the current one @seeMediaType.includes(Metadata, boolean).booleanIndicates if a given media type is included in the current one @seeMediaType.includes(Metadata, boolean).abstract booleanIndicates if a given metadata is included in the current one.booleanMetadata.isCompatible(Metadata otherMetadata) Checks if this metadata is compatible with the given metadata. -
Uses of Metadata in org.restlet.engine.application
Methods in org.restlet.engine.application with type parameters of type MetadataModifier and TypeMethodDescriptionprotected <T extends Metadata>
booleanReturns true if the metadata can be added.protected <T extends Metadata>
List<Preference<T>>FlexibleConneg.getEnrichedPreferences(List<Preference<T>> userPreferences, T defaultValue, T allValue) Returns an enriched list of preferences.protected <T extends Metadata>
floatStrictConneg.scoreMetadata(List<T> metadataList, List<Preference<T>> prefs) Scores a list of metadata relatively to enriched client preferences.protected <T extends Metadata>
floatStrictConneg.scoreMetadata(T metadata, List<Preference<T>> prefs) Scores a metadata relatively to enriched client preferences.Methods in org.restlet.engine.application that return MetadataConstructors in org.restlet.engine.application with parameters of type Metadata -
Uses of Metadata in org.restlet.engine.header
Classes in org.restlet.engine.header with type parameters of type MetadataModifier and TypeClassDescriptionclassMetadataWriter<M extends Metadata>Metadata header writer.classPreferenceReader<T extends Metadata>Preference header reader. -
Uses of Metadata in org.restlet.resource
Methods in org.restlet.resource with parameters of type MetadataModifier and TypeMethodDescriptionvoidUpdates the client preferences to accept the given metadata (media types, character sets, etc.) with a 1.0 quality in addition to existing ones.voidUpdates 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 MetadataModifier and TypeMethodDescription<T extends Metadata>
TMetadataService.getMetadata(String extension, Class<T> metadataType) Returns the metadata associated to this extension.Methods in org.restlet.service that return MetadataModifier and TypeMethodDescriptionMetadataService.getMetadata(String extension) Returns the metadata associated to this extension.Methods in org.restlet.service that return types with arguments of type MetadataModifier and TypeMethodDescriptionMetadataService.getAllMetadata(String extension) Returns all the metadata associated to this extension.Methods in org.restlet.service with parameters of type MetadataModifier and TypeMethodDescriptionvoidMetadataService.addExtension(String extension, Metadata metadata) Maps an extension to some metadata (media type, language or character set) to an extension.voidMetadataService.addExtension(String extension, Metadata metadata, boolean preferred) Maps an extension to some metadata (media type, language or character set) to an extension.MetadataService.getExtension(Metadata metadata) Returns the first extension mapping to this metadata.