Interface | Description |
---|---|
HttpRequestHandler.ProcessorCallback |
Binder callback fires when the request is finished
|
Parser<T extends Resource> |
Interface which represents Parser
|
Persistable<T extends Resource> |
Interface which represents methods to implement for object persistency
|
Processor.RESTServiceCallback |
Binder callback for
RestService |
RequestListeners.OnFailedRequestListener |
Listener for
RESTRequest failed state |
RequestListeners.OnFinishedRequestListener |
Listener for
RESTRequest finished state (whether the request succeeded or failed) |
RequestListeners.OnStartedRequestListener |
Listener for
RESTRequest started state |
RequestListeners.OnSucceededRequestListener |
Listener for
RESTRequest finished state |
Resource |
Interface which represents a Resource
|
ResourceRepresentation<ID> |
Interface which represents application items that have to be synchronized with the server
|
ResourcesList |
Interface which represents a list of
ResourceRepresentation |
RestResultReceiver.Receiver |
Class | Description |
---|---|
CacheManager |
CacheManager handles caching request in flat file
|
DefaultRetryAtDelayedTimeFailBehavior |
Behavior to retry a request every minute by default until the request is successful
If you want to change the default time value just extend this class and call
DefaultRetryAtDelayedTimeFailBehavior.setDelayedTime(long) in DefaultRetryAtDelayedTimeFailBehavior.failAction(WebService, ArrayList) to set the time you want
|
FailBehavior |
FailBehavior lets you implement a behavior for request failure.
|
FailBehaviorManager |
Manages triggering of request's
FailBehavior |
HttpRequestHandler |
Holder class to handle HTTP request
|
Module |
Class used to hold all your specifics needs without editing the core classes
A module has to be register on
WebService instance. |
ParserFactory |
Base class for ParserFactory that handle creation and access of Parser as Singleton
|
PersistableFactory |
Base class for DaoFactory that handle creation and access of Persistable classes as Singleton
|
Processor |
Processor class handle request call via
HttpRequestHandler . |
RequestListeners |
Holder class for request listeners
You can create an inner class in your Activity which extends this class to fit your needs.
|
RequestState |
Constant class which defined request state.
|
RESTDroid |
RESTDroid is an open source library to handle calls to REST webservice with data caching and persistence features
|
RESTRequest<T extends Resource> |
Holder class for all request stuff.
|
RestResultReceiver |
Specific implementation of
ResultReceiver for RESTDroid |
RestService |
Service class which hold all process populating an Intent map and calling
Processor.process(RESTRequest)
On the forward path the service receives the Intent sent by WebService and starts the corresponding REST method. |
RetryWhenOtherSucceededFailBehavior |
Behavior to retry a request when other request has succeed
|
SerializableHeader |
Simple class to represents serializable header
|
WebService |
Helper which exposes simple asynchronous API to be used by the UI
This class is used as singleton by
RESTDroid . |
Enum | Description |
---|---|
HTTPVerb |
Public enumeration of HTTP verb
|
ListenerState |
Enum which represents ListenerState
SET : indicates that the listener is activate and ready to be triggered
UNSET : indicates that the listener is deactivate.
|