@Singleton public class NovaErrorHandler extends Object implements HttpErrorHandler
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
protected OverLimitParser |
overLimitParser |
protected HeaderToRetryAfterException |
retryAfterParser |
NOOP
Modifier | Constructor and Description |
---|---|
|
NovaErrorHandler(DateCodecFactory factory,
OverLimitParser overLimitParser)
in current format, retryAt has a value of
2012-11-14T21:51:28UTC , which is an ISO-8601 seconds (not milliseconds) format. |
protected |
NovaErrorHandler(HeaderToRetryAfterException retryAfterParser,
OverLimitParser overLimitParser) |
Modifier and Type | Method and Description |
---|---|
void |
handleError(HttpCommand command,
HttpResponse response) |
protected Logger logger
protected final HeaderToRetryAfterException retryAfterParser
protected final OverLimitParser overLimitParser
protected NovaErrorHandler(HeaderToRetryAfterException retryAfterParser, OverLimitParser overLimitParser)
@Inject public NovaErrorHandler(DateCodecFactory factory, OverLimitParser overLimitParser)
2012-11-14T21:51:28UTC
, which is an ISO-8601 seconds (not milliseconds) format.public void handleError(HttpCommand command, HttpResponse response)
handleError
in interface HttpErrorHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.