Uses of Class
org.restlet.representation.Variant

Packages that use Variant
org.restlet.data Information exchanged by components. 
org.restlet.representation Common representation data elements. 
org.restlet.resource Client and server resource classes. 
org.restlet.service Services used by applications and components. 
org.restlet.util Various utility classes. 
 

Uses of Variant in org.restlet.data
 

Methods in org.restlet.data that return Variant
 Variant ClientInfo.getPreferredVariant(List<? extends Variant> variants)
          Deprecated. Use ConnegService instead.
 Variant ClientInfo.getPreferredVariant(List<? extends Variant> variants, MetadataService metadataService)
          Deprecated. Use the ClientInfo.getPreferredVariant(List) method instead.
 

Method parameters in org.restlet.data with type arguments of type Variant
 Variant ClientInfo.getPreferredVariant(List<? extends Variant> variants)
          Deprecated. Use ConnegService instead.
 Variant ClientInfo.getPreferredVariant(List<? extends Variant> variants, MetadataService metadataService)
          Deprecated. Use the ClientInfo.getPreferredVariant(List) method instead.
 

Constructor parameters in org.restlet.data with type arguments of type Variant
ClientInfo(List<? extends Variant> variants)
          Constructor from a list of variants.
 

Uses of Variant in org.restlet.representation
 

Subclasses of Variant in org.restlet.representation
 class AppendableRepresentation
          Represents an appendable sequence of characters.
 class ByteArrayRepresentation
          Representation wrapping a byte array.
 class ChannelRepresentation
          Representation based on a NIO byte channel.
 class CharacterRepresentation
          Representation based on a BIO character stream.
 class DigesterRepresentation
          Representation capable of computing a digest.
 class EmptyRepresentation
          Empty representation with no content.
 class FileRepresentation
          Representation based on a static file.
 class InputRepresentation
          Transient representation based on a BIO input stream.
 class ObjectRepresentation<T extends Serializable>
          Representation based on a serializable Java object.
It supports binary representations of JavaBeans using the ObjectInputStream and ObjectOutputStream classes.
 class OutputRepresentation
          Representation based on a BIO output stream.
 class ReadableRepresentation
          Transient representation based on a readable NIO byte channel.
 class ReaderRepresentation
          Transient representation based on a BIO characters reader.
 class Representation
          Current or intended state of a resource.
 class RepresentationInfo
          Information about a representation.
 class StreamRepresentation
          Representation based on a BIO stream.
 class StringRepresentation
          Represents an Unicode string that can be converted to any character set supported by Java.
 class WritableRepresentation
          Representation based on a writable NIO byte channel.
 class WriterRepresentation
          Representation based on a BIO characters writer.
 

Methods in org.restlet.representation with parameters of type Variant
 boolean Variant.includes(Variant other)
          Indicates if the current variant includes the given variant.
 boolean Variant.isCompatible(Variant other)
          Indicates if the current variant is compatible with the given variant.
 

Constructors in org.restlet.representation with parameters of type Variant
Representation(Variant variant, Date modificationDate)
          Constructor from a variant.
Representation(Variant variant, Date modificationDate, Tag tag)
          Constructor from a variant.
Representation(Variant variant, Tag tag)
          Constructor from a variant.
RepresentationInfo(Variant variant, Date modificationDate)
          Constructor from a variant.
RepresentationInfo(Variant variant, Date modificationDate, Tag tag)
          Constructor from a variant.
RepresentationInfo(Variant variant, Tag tag)
          Constructor from a variant.
 

Uses of Variant in org.restlet.resource
 

Methods in org.restlet.resource that return Variant
protected  Variant ServerResource.getPreferredVariant(List<Variant> variants)
          Returns the preferred variant among a list of available variants.
 

Methods in org.restlet.resource that return types with arguments of type Variant
 List<Variant> Directory.getIndexVariants(ReferenceList indexContent)
          Returns the variant representations of a directory index.
 List<Variant> ServerResource.getVariants()
          Returns a modifiable list of exposed variants for the current request method.
protected  List<Variant> ServerResource.getVariants(Method method)
          Returns a modifiable list of exposed variants for the given method.
 

Methods in org.restlet.resource with parameters of type Variant
protected  Representation ServerResource.delete(Variant variant)
          Deletes the resource and all its representations.
protected  Representation ServerResource.doHandle(Variant variant)
          Effectively handles a call with content negotiation of the response entity.
protected  Representation ServerResource.get(Variant variant)
          Returns a full representation for a given variant.
 Representation Directory.getIndexRepresentation(Variant variant, ReferenceList indexContent)
          Returns an actual index representation for a given variant.
protected  RepresentationInfo ServerResource.getInfo(Variant variant)
          Returns information about the resource's representation.
protected  Representation ServerResource.head(Variant variant)
          Returns a representation whose metadata will be returned to the client.
protected  Representation ServerResource.options(Variant variant)
          Indicates the communication options available for this resource.
protected  Representation ServerResource.post(Representation entity, Variant variant)
          Posts a representation to the resource at the target URI reference.
protected  Representation ServerResource.put(Representation representation, Variant variant)
          Creates or updates a resource with the given representation as new state to be stored.
 Representation Resource.toRepresentation(Object source, Variant target)
          Converts an object into a representation based on client preferences.
 

Method parameters in org.restlet.resource with type arguments of type Variant
protected  Variant ServerResource.getPreferredVariant(List<Variant> variants)
          Returns the preferred variant among a list of available variants.
 

Uses of Variant in org.restlet.service
 

Methods in org.restlet.service that return Variant
 Variant ConnegService.getPreferredVariant(List<? extends Variant> variants, Request request, MetadataService metadataService)
          Returns the best variant representation for a given resource according the the client preferences.
A default language is provided in case the variants don't match the client preferences.
 

Methods in org.restlet.service that return types with arguments of type Variant
 List<? extends Variant> ConverterService.getVariants(Class<?> source, Variant target)
          Returns the list of variants that can be converted from a given object class.
 

Methods in org.restlet.service with parameters of type Variant
 List<Class<?>> ConverterService.getObjectClasses(Variant source)
          Returns the list of object classes that can be converted from a given variant.
 List<? extends Variant> ConverterService.getVariants(Class<?> source, Variant target)
          Returns the list of variants that can be converted from a given object class.
 Representation ConverterService.toRepresentation(Object source, Variant target, Resource resource)
          Converts a regular Java object into a Representation.
 

Method parameters in org.restlet.service with type arguments of type Variant
 Variant ConnegService.getPreferredVariant(List<? extends Variant> variants, Request request, MetadataService metadataService)
          Returns the best variant representation for a given resource according the the client preferences.
A default language is provided in case the variants don't match the client preferences.
 

Uses of Variant in org.restlet.util
 

Subclasses of Variant in org.restlet.util
 class WrapperRepresentation
          Representation wrapper.
 



Copyright © 2005-2013 Restlet.