Package | Description |
---|---|
org.restlet.engine.converter |
Supports the converter service.
|
org.restlet.engine.local |
Supports local connectors and resources.
|
org.restlet.ext.jackson |
Integration with Jackson 1.4.
|
org.restlet.resource |
Client and server resource classes.
|
org.restlet.service |
Services used by applications and components.
|
Modifier and Type | Method and Description |
---|---|
static ConverterHelper |
ConverterUtils.getBestHelper(java.lang.Object source,
Variant target,
UniformResource resource)
Returns the best converter helper matching the given parameters.
|
static <T> ConverterHelper |
ConverterUtils.getBestHelper(Representation source,
java.lang.Class<T> target,
UniformResource resource)
Returns the best converter helper matching the given parameters.
|
abstract float |
ConverterHelper.score(java.lang.Object source,
Variant target,
UniformResource resource)
Scores the affinity of this helper with the source class.
|
float |
DefaultConverter.score(java.lang.Object source,
Variant target,
UniformResource resource) |
abstract <T> float |
ConverterHelper.score(Representation source,
java.lang.Class<T> target,
UniformResource resource)
Scores the affinity of this helper with the source class.
|
<T> float |
DefaultConverter.score(Representation source,
java.lang.Class<T> target,
UniformResource resource) |
abstract <T> T |
ConverterHelper.toObject(Representation source,
java.lang.Class<T> target,
UniformResource resource)
Converts a Representation into a regular Java object.
|
<T> T |
DefaultConverter.toObject(Representation source,
java.lang.Class<T> target,
UniformResource resource) |
abstract Representation |
ConverterHelper.toRepresentation(java.lang.Object source,
Variant target,
UniformResource resource)
Converts a regular Java object into a Representation.
|
Representation |
DefaultConverter.toRepresentation(java.lang.Object source,
Variant target,
UniformResource resource) |
Modifier and Type | Class and Description |
---|---|
class |
DirectoryServerResource
Resource supported by a set of context representations (from file system,
class loaders and webapp context).
|
Modifier and Type | Method and Description |
---|---|
float |
JacksonConverter.score(java.lang.Object source,
Variant target,
UniformResource resource) |
<T> float |
JacksonConverter.score(Representation source,
java.lang.Class<T> target,
UniformResource resource) |
<T> T |
JacksonConverter.toObject(Representation source,
java.lang.Class<T> target,
UniformResource resource) |
Representation |
JacksonConverter.toRepresentation(java.lang.Object source,
Variant target,
UniformResource resource) |
Modifier and Type | Class and Description |
---|---|
class |
ClientResource
Client-side resource.
|
class |
ServerResource
Base class for server-side resources.
|
Modifier and Type | Method and Description |
---|---|
Status |
StatusService.getStatus(java.lang.Throwable throwable,
UniformResource resource)
Returns a status for a given exception or error.
|
<T> T |
ConverterService.toObject(Representation source,
java.lang.Class<T> target,
UniformResource resource)
Converts a Representation into a regular Java object.
|
Representation |
ConverterService.toRepresentation(java.lang.Object source,
Variant target,
UniformResource resource)
Converts a regular Java object into a Representation.
|
Copyright © 2005-2012. All Rights Reserved.