public class Http extends HttpBase
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
accept, acceptLanguage, BUFFER_SIZE, maxContent, proxyHost, proxyPort, responseTime, timeout, tlsPreferredCipherSuites, tlsPreferredProtocols, useHttp11, useProxy, userAgentCHECK_BLOCKING, CHECK_ROBOTS, X_POINT_ID| Constructor and Description |
|---|
Http() |
| Modifier and Type | Method and Description |
|---|---|
Collection<WebPage.Field> |
getFields() |
protected Response |
getResponse(URL url,
WebPage page,
boolean redirect) |
static void |
main(String[] args) |
void |
setConf(Configuration conf) |
getAccept, getAcceptLanguage, getConf, getMaxContent, getProtocolOutput, getProxyHost, getProxyPort, getRobotRules, getTimeout, getTlsPreferredCipherSuites, getTlsPreferredProtocols, getUseHttp11, getUserAgent, logConf, main, processDeflateEncoded, processGzipEncoded, useProxypublic void setConf(Configuration conf)
setConf in interface ConfigurablesetConf in class HttpBaseprotected Response getResponse(URL url, WebPage page, boolean redirect) throws ProtocolException, IOException
getResponse in class HttpBaseProtocolExceptionIOExceptionpublic Collection<WebPage.Field> getFields()
Copyright © 2015 The Apache Software Foundation