Package | Description |
---|---|
org.restlet.resource |
Client and server resource classes.
|
org.restlet.service |
Services used by applications and components.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientResource
Client-side resource.
|
class |
ServerResource
Base class for server-side resources.
|
Constructor and Description |
---|
ResourceException(Status status,
Resource resource)
Deprecated.
use constructor with status, request and response instead.
|
Modifier and Type | Method and Description |
---|---|
Status |
StatusService.getStatus(java.lang.Throwable throwable,
Resource resource)
Deprecated.
Use
StatusService.toStatus(Throwable, Resource) instead. |
<T> T |
ConverterService.toObject(Representation source,
java.lang.Class<T> target,
Resource resource)
Converts a Representation into a regular Java object.
|
Representation |
ConverterService.toRepresentation(java.lang.Object source,
Variant target,
Resource resource)
Converts a regular Java object into a Representation.
|
Representation |
StatusService.toRepresentation(Status status,
Resource resource)
Returns a representation for the given status.
|
Status |
StatusService.toStatus(java.lang.Throwable throwable,
Resource resource)
Returns a status for a given exception or error.
|
Copyright © 2005-2024 Restlet.