Uses of Class
org.restlet.representation.Variant
- 
Packages that use Variant Package Description 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
Constructor parameters in org.restlet.data with type arguments of type Variant Constructor Description ClientInfo(java.util.List<? extends Variant> variants)Constructor from a list of variants. - 
Uses of Variant in org.restlet.representation
Subclasses of Variant in org.restlet.representation Modifier and Type Class Description classAppendableRepresentationRepresents an appendable sequence of characters.classBufferingRepresentationRepresentation capable of buffering the wrapped representation.classByteArrayRepresentationRepresentation wrapping a byte array.classChannelRepresentationRepresentation based on a NIO byte channel.classCharacterRepresentationRepresentation based on a BIO character stream.classDigesterRepresentationRepresentation capable of computing a digest.classEmptyRepresentationEmpty representation with no content.classFileRepresentationRepresentation based on a static file.classInputRepresentationTransient representation based on a BIO input stream.classObjectRepresentation<T extends java.io.Serializable>Representation based on a serializable Java object.
It supports binary representations of JavaBeans using theObjectInputStreamandObjectOutputStreamclasses.classOutputRepresentationRepresentation based on a BIO output stream.classReadableRepresentationTransient representation based on a readable NIO byte channel.classReaderRepresentationTransient representation based on a BIO characters reader.classRepresentationCurrent or intended state of a resource.classRepresentationInfoInformation about a representation.classStreamRepresentationRepresentation based on a BIO stream.classStringRepresentationRepresents an Unicode string that can be converted to any character set supported by Java.classWritableRepresentationRepresentation based on a writable NIO byte channel.classWriterRepresentationRepresentation based on a BIO characters writer.Methods in org.restlet.representation with parameters of type Variant Modifier and Type Method Description booleanVariant. includes(Variant other)Indicates if the current variant includes the given variant.booleanVariant. isCompatible(Variant other)Indicates if the current variant is compatible with the given variant.Constructors in org.restlet.representation with parameters of type Variant Constructor Description Representation(Variant variant, java.util.Date modificationDate)Constructor from a variant.Representation(Variant variant, java.util.Date modificationDate, Tag tag)Constructor from a variant.Representation(Variant variant, Tag tag)Constructor from a variant.RepresentationInfo(Variant variant, java.util.Date modificationDate)Constructor from a variant.RepresentationInfo(Variant variant, java.util.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 Modifier and Type Method Description protected VariantServerResource. getPreferredVariant(java.util.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 Modifier and Type Method Description java.util.List<Variant>Directory. getIndexVariants(ReferenceList indexContent)Returns the variant representations of a directory index.java.util.List<Variant>ServerResource. getVariants()Returns a modifiable list of exposed variants for the current request method.protected java.util.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 Modifier and Type Method Description protected RepresentationServerResource. delete(Variant variant)Deletes the resource and all its representations.protected RepresentationServerResource. doHandle(Variant variant)Effectively handles a call with content negotiation of the response entity.protected RepresentationServerResource. get(Variant variant)Returns a full representation for a given variant.RepresentationDirectory. getIndexRepresentation(Variant variant, ReferenceList indexContent)Returns an actual index representation for a given variant.protected RepresentationInfoServerResource. getInfo(Variant variant)Returns information about the resource's representation.protected RepresentationServerResource. head(Variant variant)Returns a representation whose metadata will be returned to the client.protected RepresentationServerResource. options(Variant variant)Indicates the communication options available for this resource.protected RepresentationServerResource. patch(Representation entity, Variant variant)Apply a patch entity to the current representation of the resource retrieved by callingServerResource.get().protected RepresentationServerResource. post(Representation entity, Variant variant)Posts a representation to the resource at the target URI reference.protected RepresentationServerResource. put(Representation representation, Variant variant)Creates or updates a resource with the given representation as new state to be stored.RepresentationResource. toRepresentation(java.lang.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 Modifier and Type Method Description protected VariantServerResource. getPreferredVariant(java.util.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 Modifier and Type Method Description VariantConnegService. getPreferredVariant(java.util.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 Modifier and Type Method Description java.util.List<? extends Variant>ConverterService. getVariants(java.lang.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 Modifier and Type Method Description java.util.List<java.lang.Class<?>>ConverterService. getObjectClasses(Variant source)Returns the list of object classes that can be converted from a given variant.java.util.List<? extends Variant>ConverterService. getVariants(java.lang.Class<?> source, Variant target)Returns the list of variants that can be converted from a given object class.RepresentationConverterService. toRepresentation(java.lang.Object source, Variant target)Converts a regular Java object into a Representation.RepresentationConverterService. toRepresentation(java.lang.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 Modifier and Type Method Description VariantConnegService. getPreferredVariant(java.util.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 Modifier and Type Class Description classWrapperRepresentationRepresentation wrapper. 
 -