public class Expectation extends ObjectWithJsonToString
Constructor and Description |
---|
Expectation(HttpRequest httpRequest) |
Expectation(HttpRequest httpRequest,
Times times,
TimeToLive timeToLive) |
toString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
public Expectation(HttpRequest httpRequest)
public Expectation(HttpRequest httpRequest, Times times, TimeToLive timeToLive)
public HttpRequest getHttpRequest()
public HttpResponse getHttpResponse()
public HttpTemplate getHttpResponseTemplate()
public HttpClassCallback getHttpResponseClassCallback()
public HttpObjectCallback getHttpResponseObjectCallback()
public HttpForward getHttpForward()
public HttpTemplate getHttpForwardTemplate()
public HttpClassCallback getHttpForwardClassCallback()
public HttpObjectCallback getHttpForwardObjectCallback()
public HttpOverrideForwardedRequest getHttpOverrideForwardedRequest()
public HttpError getHttpError()
public Action getAction()
public Times getTimes()
public TimeToLive getTimeToLive()
public Expectation thenRespond(HttpResponse httpResponse)
public Expectation thenRespond(HttpTemplate httpTemplate)
public Expectation thenRespond(HttpClassCallback httpClassCallback)
public Expectation thenRespond(HttpObjectCallback httpObjectCallback)
public Expectation thenForward(HttpForward httpForward)
public Expectation thenForward(HttpTemplate httpTemplate)
public Expectation thenForward(HttpClassCallback httpClassCallback)
public Expectation thenForward(HttpObjectCallback httpObjectCallback)
public Expectation thenForward(HttpOverrideForwardedRequest httpOverrideForwardedRequest)
public Expectation thenError(HttpError httpError)
public boolean isActive()
public Expectation decrementRemainingMatches()
public boolean contains(HttpRequest httpRequest)
public Expectation clone()
Copyright © 2018. All rights reserved.