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 |
Expectation.getHttpOverrideForwardedRequest() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenForward(HttpOverrideForwardedRequest httpOverrideForwardedRequest) |
Modifier and Type | Method and Description |
---|---|
HttpForwardActionResult |
HttpOverrideForwardedRequestActionHandler.handle(HttpOverrideForwardedRequest httpOverrideForwardedRequest,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
static HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.forwardOverriddenRequest()
Static builder which will allow overriding proxied request with the specified request.
|
static HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.forwardOverriddenRequest(HttpRequest httpRequest)
Static builder which will allow overriding proxied request with the specified request.
|
static HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.forwardOverriddenRequest(HttpRequest httpRequest,
HttpResponse httpResponse)
Static builder which will allow overriding proxied request with the specified request.
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withHttpRequest(HttpRequest httpRequest)
All fields, headers, cookies, etc of the provided request will be overridden
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withHttpResponse(HttpResponse httpResponse)
All fields, headers, cookies, etc of the provided response will be overridden
|
Modifier and Type | Method and Description |
---|---|
String |
HttpOverrideForwardedRequestToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpOverrideForwardedRequest httpForward) |
Modifier and Type | Method and Description |
---|---|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequestDTO.buildObject() |
Constructor and Description |
---|
HttpOverrideForwardedRequestDTO(HttpOverrideForwardedRequest httpOverrideForwardedRequest) |
Copyright © 2020. All rights reserved.