| Package | Description |
|---|---|
| com.github.tashoyan.httpspy |
| Modifier and Type | Class and Description |
|---|---|
class |
CamelJettyHttpResponse
Implementation of
HttpResponse to use with CamelJettyHttpSpy. |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
DefaultResponseBuilder.build() |
HttpResponse |
ResponseBuilder.build()
Builds response.
|
protected HttpResponse |
SequencePlan.createMissingResponse(HttpRequest actualRequest)
Creates a special response when the number of actual requests exceeds the
number of request expectations.
|
protected HttpResponse |
StubPlan.createUnmatchedRequestResponse(HttpRequest actualRequest)
Creates a special response when a request does not match all
expectations.
|
HttpResponse |
TestPlan.getResponse(HttpRequest actualRequest)
Gets a response for an actual request.
|
HttpResponse |
SequencePlan.getResponse(HttpRequest actualRequest) |
HttpResponse |
StubPlan.getResponse(HttpRequest actualRequest) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CamelJettyHttpSpy.sendResponseInExchange(HttpResponse response,
org.apache.camel.Exchange exchange)
Send the response in Camel exchange.
|
| Constructor and Description |
|---|
SequencePlan(List<RequestExpectation> requestExpectations,
List<HttpResponse> responses)
Creates new instance of the test plan.
|
StubPlan(Collection<RequestExpectation> requestExpectations,
Collection<HttpResponse> responses)
Creates new test plan with request expectations and responses for them.
|
Copyright © 2016. All rights reserved.