|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Resource | |
|---|---|
| org.restlet.engine.converter | Supports the converter service. |
| org.restlet.engine.local | Supports local connectors and resources. |
| org.restlet.resource | Client and server resource classes. |
| org.restlet.service | Services used by applications and components. |
| Uses of Resource in org.restlet.engine.converter |
|---|
| Methods in org.restlet.engine.converter with parameters of type Resource | ||
|---|---|---|
static ConverterHelper |
ConverterUtils.getBestHelper(Object source,
Variant target,
Resource resource)
Returns the best converter helper matching the given parameters. |
|
static
|
ConverterUtils.getBestHelper(Representation source,
Class<T> target,
Resource resource)
Returns the best converter helper matching the given parameters. |
|
abstract float |
ConverterHelper.score(Object source,
Variant target,
Resource resource)
Scores the affinity of this helper with the source class. |
|
float |
DefaultConverter.score(Object source,
Variant target,
Resource resource)
|
|
abstract
|
ConverterHelper.score(Representation source,
Class<T> target,
Resource resource)
Scores the affinity of this helper with the source class. |
|
|
DefaultConverter.score(Representation source,
Class<T> target,
Resource resource)
|
|
abstract
|
ConverterHelper.toObject(Representation source,
Class<T> target,
Resource resource)
Converts a Representation into a regular Java object. |
|
|
DefaultConverter.toObject(Representation source,
Class<T> target,
Resource resource)
|
|
abstract Representation |
ConverterHelper.toRepresentation(Object source,
Variant target,
Resource resource)
Converts a regular Java object into a Representation. |
|
Representation |
DefaultConverter.toRepresentation(Object source,
Variant target,
Resource resource)
|
|
| Uses of Resource in org.restlet.engine.local |
|---|
| Subclasses of Resource in org.restlet.engine.local | |
|---|---|
class |
DirectoryServerResource
Resource supported by a set of context representations (from file system, class loaders and webapp context). |
| Uses of Resource in org.restlet.resource |
|---|
| Subclasses of Resource in org.restlet.resource | |
|---|---|
class |
ClientResource
Client-side resource. |
class |
ServerResource
Base class for server-side resources. |
class |
UniformResource
Deprecated. Use the parent Resource class instead. |
| Uses of Resource in org.restlet.service |
|---|
| Methods in org.restlet.service with parameters of type Resource | ||
|---|---|---|
Status |
StatusService.getStatus(Throwable throwable,
Resource resource)
Returns a status for a given exception or error. |
|
|
ConverterService.toObject(Representation source,
Class<T> target,
Resource resource)
Converts a Representation into a regular Java object. |
|
Representation |
ConverterService.toRepresentation(Object source,
Variant target,
Resource resource)
Converts a regular Java object into a Representation. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||