Uses of Class
org.mockserver.model.HttpTemplate
-
Packages that use HttpTemplate Package Description org.mockserver.client org.mockserver.mock org.mockserver.mock.action org.mockserver.model org.mockserver.serialization.java org.mockserver.serialization.model -
-
Uses of HttpTemplate in org.mockserver.client
Methods in org.mockserver.client with parameters of type HttpTemplate Modifier and Type Method Description void
ForwardChainExpectation. forward(HttpTemplate httpTemplate)
Evaluate Velocity or JavaScript template to generate request to forward when expectation is matchedvoid
ForwardChainExpectation. respond(HttpTemplate httpTemplate)
Evaluate Velocity or JavaScript template to generate response to return when expectation is matched -
Uses of HttpTemplate in org.mockserver.mock
Methods in org.mockserver.mock that return HttpTemplate Modifier and Type Method Description HttpTemplate
Expectation. getHttpForwardTemplate()
HttpTemplate
Expectation. getHttpResponseTemplate()
Methods in org.mockserver.mock with parameters of type HttpTemplate Modifier and Type Method Description Expectation
Expectation. thenForward(HttpTemplate httpTemplate)
Expectation
Expectation. thenRespond(HttpTemplate httpTemplate)
-
Uses of HttpTemplate in org.mockserver.mock.action
Methods in org.mockserver.mock.action with parameters of type HttpTemplate Modifier and Type Method Description HttpForwardActionResult
HttpForwardTemplateActionHandler. handle(HttpTemplate httpTemplate, HttpRequest originalRequest)
HttpResponse
HttpResponseTemplateActionHandler. handle(HttpTemplate httpTemplate, HttpRequest httpRequest)
-
Uses of HttpTemplate in org.mockserver.model
Methods in org.mockserver.model that return HttpTemplate Modifier and Type Method 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. withTemplate(String template)
-
Uses of HttpTemplate in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type HttpTemplate Modifier and Type Method Description String
HttpTemplateToJavaSerializer. serialize(int numberOfSpacesToIndent, HttpTemplate httpTemplate)
-
Uses of HttpTemplate in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return HttpTemplate Modifier and Type Method Description HttpTemplate
HttpTemplateDTO. buildObject()
Constructors in org.mockserver.serialization.model with parameters of type HttpTemplate Constructor Description HttpTemplateDTO(HttpTemplate httpTemplate)
-