|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpCommand
Command whose endpoint is an http service.
Method Summary | |
---|---|
HttpRequest |
getCurrentRequest()
The request associated with this command. |
Exception |
getException()
|
int |
getFailureCount()
This displays the current number of error retries for this command. |
int |
getRedirectCount()
This displays the current number of redirect attempts for this command. |
int |
incrementFailureCount()
increment the current failure count. |
int |
incrementRedirectCount()
increments the current number of redirect attempts for this command. |
boolean |
isReplayable()
Commands need to be replayed, if redirected or on a retryable error. |
void |
setCurrentRequest(HttpRequest request)
The request associated with this command. |
void |
setException(Exception exception)
Used to prevent a command from being re-executed, or having its response parsed. |
Method Detail |
---|
int incrementRedirectCount()
getRedirectCount()
int getRedirectCount()
org.jclouds.Constants.PROPERTY_MAX_REDIRECTS
boolean isReplayable()
int incrementFailureCount()
getFailureCount()
int getFailureCount()
org.jclouds.Constants.PROPERTY_MAX_RETRIES
HttpRequest getCurrentRequest()
void setCurrentRequest(HttpRequest request)
void setException(Exception exception)
Exception getException()
setException(java.lang.Exception)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |