public class RecordExecChain extends Object implements org.apache.http.impl.execchain.ClientExecChain
| Constructor and Description |
|---|
RecordExecChain() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.CloseableHttpResponse |
execute(org.apache.http.conn.routing.HttpRoute route,
org.apache.http.client.methods.HttpRequestWrapper request,
org.apache.http.client.protocol.HttpClientContext context,
org.apache.http.client.methods.HttpExecutionAware executionAware) |
void |
init(BiFunction<MockHttpRequest,MockHttpResponse,MockHttpResponse> onAfterRequest) |
void |
setActive(boolean active) |
public void init(BiFunction<MockHttpRequest,MockHttpResponse,MockHttpResponse> onAfterRequest)
public void setActive(boolean active)
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.conn.routing.HttpRoute route,
org.apache.http.client.methods.HttpRequestWrapper request,
org.apache.http.client.protocol.HttpClientContext context,
org.apache.http.client.methods.HttpExecutionAware executionAware)
throws IOException,
org.apache.http.HttpException
execute in interface org.apache.http.impl.execchain.ClientExecChainIOExceptionorg.apache.http.HttpExceptionCopyright © 2020. All rights reserved.