Package | Description |
---|---|
org.restlet.client.representation |
Common representation data elements.
|
org.restlet.client.resource |
Client and server resource classes.
|
org.restlet.client.util |
Various utility classes.
|
org.restlet.rebind |
Deferred binding logic for transparent serialization.
|
Modifier and Type | Class and Description |
---|---|
class |
CharacterRepresentation
Representation based on a BIO character stream.
|
class |
EmptyRepresentation
Empty representation with no content.
|
class |
InputRepresentation
Transient representation based on a BIO input stream.
|
class |
ObjectRepresentation<T>
Representation based on a serializable Java object.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Representation |
Resource.toRepresentation(java.lang.Object source,
Variant target)
Converts an object into a representation based on client preferences.
|
Modifier and Type | Class and Description |
---|---|
class |
WrapperRepresentation
Representation wrapper.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Variant> |
AnnotationInfo.getRequestVariants(MetadataService metadataService)
Returns a list of request variants based on the annotation value.
|
Copyright © 2005-2024 Restlet.