Package org.restlet.resource
Client and server resource classes.
- Since:
- Restlet 1.0
- See Also:
- User Guide - Resource package
-
Interface Summary Interface Description ClientProxy Marker interface for RESTful resource proxies.Result<T> Callback interface for asynchronous tasks. -
Class Summary Class Description ClientResource Client-side resource.Directory Finder mapping a directory of local resources.Finder Restlet that can find the target server resource that will effectively handle incoming calls.Resource Base resource class exposing the uniform REST interface.ServerResource Base class for server-side resources. -
Exception Summary Exception Description ResourceException Encapsulates a response status and the optional cause as a checked exception. -
Annotation Types Summary Annotation Type Description Delete Annotation for methods that remove representations.Get Annotation for methods that retrieve a resource representation.Options Annotation for methods that describe a resource.Patch Annotation for methods that apply submitted representations as a patch.Post Annotation for methods that accept submitted representations.Put Annotation for methods that store submitted representations.Status Annotation forThrowable
that map to HTTP error statuses.