|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Variant | |
---|---|
org.restlet.gwt.resource | Common resource and representation data elements. |
org.restlet.gwt.util | Utility classes and interfaces used in the rest of the API. |
Uses of Variant in org.restlet.gwt.resource |
---|
Subclasses of Variant in org.restlet.gwt.resource | |
---|---|
class |
JsonRepresentation
JSON representation based on an JSON value. |
class |
Representation
Current or intended state of a resource. |
class |
StringRepresentation
Represents an Unicode string that can be converted to any character set supported by Java. |
class |
XmlRepresentation
XML representation based on an XML DOM document. |
Uses of Variant in org.restlet.gwt.util |
---|
Methods in org.restlet.gwt.util that return Variant | |
---|---|
abstract Variant |
Engine.getPreferredVariant(ClientInfo client,
java.util.List<Variant> variants,
Language defaultLanguage)
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. |
Method parameters in org.restlet.gwt.util with type arguments of type Variant | |
---|---|
abstract Variant |
Engine.getPreferredVariant(ClientInfo client,
java.util.List<Variant> variants,
Language defaultLanguage)
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |