Class MetadataExtension

java.lang.Object
org.restlet.engine.application.MetadataExtension

public class MetadataExtension extends Object
Associates an extension name and a metadata.
Author:
Alex Milowski (alexml@milowski.org), Thierry Boileau
  • Constructor Details

    • MetadataExtension

      public MetadataExtension(String name, Metadata metadata)
      Constructor.
      Parameters:
      name - The extension name.
      metadata - The metadata.
  • Method Details

    • getCharacterSet

      public CharacterSet getCharacterSet()
      Returns the character set.
      Returns:
      the character set.
    • getEncoding

      public Encoding getEncoding()
      Returns the encoding.
      Returns:
      the encoding.
    • getLanguage

      public Language getLanguage()
      Returns the language.
      Returns:
      the language.
    • getMediaType

      public MediaType getMediaType()
      Returns the media type.
      Returns:
      the media type.
    • getMetadata

      public Metadata getMetadata()
      Returns the metadata.
      Returns:
      the metadata.
    • getName

      public String getName()
      Returns the extension name.
      Returns:
      The extension name.