Package org.codegist.crest.handler

Contains retry, response and error handler interfaces and default implementations

See:
          Description

Interface Summary
ErrorHandler Error handler gets invoked when an exception occurs during the request firing.
ResponseHandler Response handler is invoked for each request's as long as the interface doesn't specifically requested for the raw response (Reader or InputStream method return types.)
RetryHandler Retry handlers are used to control whether a method execution that has failed during the HTTP call should be re-executed or not
 

Class Summary
DefaultResponseHandler Default response handler that either marshall the response or return server raw response following the rules below :
DefaultValuesErrorHandler Error handler that ignores exception and return default values
ErrorDelegatorHandler Error handler that always delegate the given exception to the caller.
MaxAttemptRetryHandler Default retry handler always returns true is the given attempt is strictly less than given max value.
 

Package org.codegist.crest.handler Description

Contains retry, response and error handler interfaces and default implementations



Copyright © 2011. All Rights Reserved.