Modifier and Type | Method and Description |
---|---|
void |
ForwardChainExpectation.forward(HttpTemplate httpTemplate)
Evaluate Velocity or JavaScript template to generate
request to forward when expectation is matched
|
void |
ForwardChainExpectation.respond(HttpTemplate httpTemplate)
Evaluate Velocity or JavaScript template to generate response
to return when expectation is matched
|
Modifier and Type | Method and Description |
---|---|
String |
HttpTemplateToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpTemplate httpTemplate) |
Modifier and Type | Method and Description |
---|---|
HttpTemplate |
HttpTemplateDTO.buildObject() |
Constructor and Description |
---|
HttpTemplateDTO(HttpTemplate httpTemplate) |
Modifier and Type | Method and Description |
---|---|
HttpTemplate |
Expectation.getHttpForwardTemplate() |
HttpTemplate |
Expectation.getHttpResponseTemplate() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenForward(HttpTemplate httpTemplate) |
Expectation |
Expectation.thenRespond(HttpTemplate httpTemplate) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpResponseTemplateActionHandler.handle(HttpTemplate httpTemplate,
HttpRequest httpRequest) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpForwardTemplateActionHandler.handle(HttpTemplate httpTemplate,
HttpRequest originalRequest) |
Modifier and Type | Method and Description |
---|---|
HttpTemplate |
HttpTemplate.shallowClone() |
static HttpTemplate |
HttpTemplate.template(HttpTemplate.TemplateType type)
Static builder to create an template for responding or forwarding requests.
|
static HttpTemplate |
HttpTemplate.template(HttpTemplate.TemplateType type,
String template)
Static builder to create an template for responding or forwarding requests.
|
HttpTemplate |
HttpTemplate.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpTemplate |
HttpTemplate.withDelay(TimeUnit timeUnit,
long value)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpTemplate |
HttpTemplate.withTemplate(String template) |
Copyright © 2018. All rights reserved.