Package | Description |
---|---|
org.mockserver.client | |
org.mockserver.client.serialization.model | |
org.mockserver.mock | |
org.mockserver.mock.action | |
org.mockserver.model |
Modifier and Type | Method and Description |
---|---|
void |
ForwardChainExpectation.forward(HttpOverrideForwardedRequest httpOverrideForwardedRequest)
Override fields, headers, and cookies etc in request being forwarded with
specified fields, headers and cookies, etc in the specified request
when expectation is matched
|
Modifier and Type | Method and Description |
---|---|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequestDTO.buildObject() |
Constructor and Description |
---|
HttpOverrideForwardedRequestDTO(HttpOverrideForwardedRequest httpOverrideForwardedRequest) |
Modifier and Type | Method and Description |
---|---|
HttpOverrideForwardedRequest |
Expectation.getHttpOverrideForwardedRequest() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenForward(HttpOverrideForwardedRequest httpOverrideForwardedRequest) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpOverrideForwardedRequestActionHandler.handle(HttpOverrideForwardedRequest httpOverrideForwardedRequest,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
static HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.forwardOverriddenRequest(HttpRequest httpRequest)
Static builder which will allow overriding proxied request with the specified request.
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withDelay(TimeUnit timeUnit,
long value)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withHttpRequest(HttpRequest httpRequest)
All fields, headers, cookies, etc of the provided request will override
|
Copyright © 2018. All rights reserved.