public class ScrapingHttpWebConnection
extends com.gargoylesoftware.htmlunit.HttpWebConnection
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.http.params.BasicHttpParams |
basicHttpParams |
static org.apache.log4j.Logger |
log
Used for logging.
|
(package private) org.apache.http.impl.conn.PoolingClientConnectionManager |
threadSafeClientConnManager |
Constructor and Description |
---|
ScrapingHttpWebConnection(com.gargoylesoftware.htmlunit.WebClient webClient) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.impl.client.HttpClientBuilder |
createHttpClient() |
org.apache.http.impl.client.HttpClientBuilder |
getInternalHttpClientBuilder() |
void |
setBasicHttpParams(org.apache.http.params.BasicHttpParams basicHttpParams) |
void |
setThreadSafeClientConnManager(org.apache.http.impl.conn.PoolingClientConnectionManager threadSafeClientConnManager) |
public static org.apache.log4j.Logger log
@Nullable org.apache.http.impl.conn.PoolingClientConnectionManager threadSafeClientConnManager
@Nullable org.apache.http.params.BasicHttpParams basicHttpParams
public ScrapingHttpWebConnection(com.gargoylesoftware.htmlunit.WebClient webClient)
@NotNull public org.apache.http.impl.client.HttpClientBuilder getInternalHttpClientBuilder()
public void setThreadSafeClientConnManager(org.apache.http.impl.conn.PoolingClientConnectionManager threadSafeClientConnManager)
public void setBasicHttpParams(org.apache.http.params.BasicHttpParams basicHttpParams)
@Nullable protected org.apache.http.impl.client.HttpClientBuilder createHttpClient()
createHttpClient
in class com.gargoylesoftware.htmlunit.HttpWebConnection