public class HttpClientWithMockConnectionRequestFactory extends HttpClientRequestFactory
| Constructor and Description |
|---|
HttpClientWithMockConnectionRequestFactory(org.apache.http.conn.HttpClientConnectionManager mockConnectionManager,
org.apache.http.protocol.HttpRequestExecutor mockRequestExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.conn.HttpClientConnectionManager |
getConnectionManager()
This mocks out the connection, so we don't actually need a running server
|
protected org.apache.http.protocol.HttpRequestExecutor |
getRequestExecutor() |
createClientContext, createClientContext, createHttpClient, createRequest, getRoutePlanner, supportsHeaderpublic HttpClientWithMockConnectionRequestFactory(org.apache.http.conn.HttpClientConnectionManager mockConnectionManager,
org.apache.http.protocol.HttpRequestExecutor mockRequestExecutor)
protected org.apache.http.protocol.HttpRequestExecutor getRequestExecutor()
getRequestExecutor in class HttpClientRequestFactoryprotected org.apache.http.conn.HttpClientConnectionManager getConnectionManager()
getConnectionManager in class HttpClientRequestFactoryCopyright © 2019 Atlassian. All rights reserved.