Package | Description |
---|---|
org.mockserver.client | |
org.mockserver.mock | |
org.mockserver.mock.action | |
org.mockserver.model | |
org.mockserver.serialization.java | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
void |
ForwardChainExpectation.forward(HttpForward httpForward)
Forward request to the specified host and port when expectation is matched
|
Modifier and Type | Method and Description |
---|---|
HttpForward |
Expectation.getHttpForward() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenForward(HttpForward httpForward) |
Modifier and Type | Method and Description |
---|---|
HttpForwardActionResult |
HttpForwardActionHandler.handle(HttpForward httpForward,
HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
static HttpForward |
HttpForward.forward()
Static builder to create a forward.
|
HttpForward |
HttpForward.withHost(String host)
The host or ip address to forward the request to i.e.
|
HttpForward |
HttpForward.withPort(Integer port)
The port to forward the request to i.e.
|
HttpForward |
HttpForward.withScheme(HttpForward.Scheme scheme)
The scheme to use when forwarded the request, either HTTP or HTTPS.
|
Modifier and Type | Method and Description |
---|---|
String |
HttpForwardToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpForward httpForward) |
Modifier and Type | Method and Description |
---|---|
HttpForward |
HttpForwardDTO.buildObject() |
Constructor and Description |
---|
HttpForwardDTO(HttpForward httpForward) |
Copyright © 2020. All rights reserved.