Uses of Class
org.restlet.resource.Resource
-
Packages that use Resource Package Description org.restlet.resource Client and server resource classes.org.restlet.service Services used by applications and components. -
-
Uses of Resource in org.restlet.resource
Subclasses of Resource in org.restlet.resource Modifier and Type Class Description class
ClientResource
Client-side resource.class
ServerResource
Base class for server-side resources.Constructors in org.restlet.resource with parameters of type Resource Constructor Description ResourceException(Status status, Resource resource)
Deprecated.use constructor with status, request and response instead. -
Uses of Resource in org.restlet.service
Methods in org.restlet.service with parameters of type Resource Modifier and Type Method Description Status
StatusService. getStatus(java.lang.Throwable throwable, Resource resource)
Deprecated.UseStatusService.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.
In order to customize the default representation, this method can be overridden.Status
StatusService. toStatus(java.lang.Throwable throwable, Resource resource)
Returns a status for a given exception or error.
-