Class ProxyResponseRenderer
- java.lang.Object
-
- com.github.tomakehurst.wiremock.http.ProxyResponseRenderer
-
- All Implemented Interfaces:
ResponseRenderer
public class ProxyResponseRenderer extends java.lang.Object implements ResponseRenderer
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>
FORBIDDEN_REQUEST_HEADERS
static java.util.List<java.lang.String>
FORBIDDEN_RESPONSE_HEADERS
-
Constructor Summary
Constructors Constructor Description ProxyResponseRenderer(ProxySettings proxySettings, KeyStoreSettings trustStoreSettings, boolean preserveHostHeader, java.lang.String hostHeaderValue, SettingsStore settingsStore, boolean trustAllProxyTargets, java.util.List<java.lang.String> trustedProxyTargets, boolean stubCorsEnabled, NetworkAddressRules targetAddressRules, int proxyTimeout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.hc.client5.http.classic.methods.HttpUriRequest
getHttpRequestFor(ResponseDefinition response)
Response
render(ServeEvent serveEvent)
-
-
-
Constructor Detail
-
ProxyResponseRenderer
public ProxyResponseRenderer(ProxySettings proxySettings, KeyStoreSettings trustStoreSettings, boolean preserveHostHeader, java.lang.String hostHeaderValue, SettingsStore settingsStore, boolean trustAllProxyTargets, java.util.List<java.lang.String> trustedProxyTargets, boolean stubCorsEnabled, NetworkAddressRules targetAddressRules, int proxyTimeout)
-
-
Method Detail
-
render
public Response render(ServeEvent serveEvent)
- Specified by:
render
in interfaceResponseRenderer
-
getHttpRequestFor
public static org.apache.hc.client5.http.classic.methods.HttpUriRequest getHttpRequestFor(ResponseDefinition response)
-
-