org.jclouds.gogrid.mock
Class HttpCommandMock
java.lang.Object
org.jclouds.gogrid.mock.HttpCommandMock
- All Implemented Interfaces:
- HttpCommand
public class HttpCommandMock
- extends Object
- implements HttpCommand
- Author:
- Oleksiy Yarmula
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCommandMock
public HttpCommandMock()
incrementRedirectCount
public int incrementRedirectCount()
- Specified by:
incrementRedirectCount in interface HttpCommand
getRedirectCount
public int getRedirectCount()
- Specified by:
getRedirectCount in interface HttpCommand
isReplayable
public boolean isReplayable()
- Specified by:
isReplayable in interface HttpCommand
incrementFailureCount
public int incrementFailureCount()
- Specified by:
incrementFailureCount in interface HttpCommand
getFailureCount
public int getFailureCount()
- Specified by:
getFailureCount in interface HttpCommand
getRequest
public HttpRequest getRequest()
- Specified by:
getRequest in interface HttpCommand
setException
public void setException(Exception exception)
- Specified by:
setException in interface HttpCommand
getException
public Exception getException()
- Specified by:
getException in interface HttpCommand
Copyright © 2009-2010 jclouds. All Rights Reserved.