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, userAgent
CHECK_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(org.apache.hadoop.conf.Configuration conf) |
getAccept, getAcceptLanguage, getConf, getMaxContent, getProtocolOutput, getProxyHost, getProxyPort, getRobotRules, getTimeout, getTlsPreferredCipherSuites, getTlsPreferredProtocols, getUseHttp11, getUserAgent, logConf, main, processDeflateEncoded, processGzipEncoded, useProxy
public void setConf(org.apache.hadoop.conf.Configuration conf)
protected Response getResponse(URL url, WebPage page, boolean redirect) throws ProtocolException, IOException
getResponse
in class HttpBase
ProtocolException
IOException
public Collection<WebPage.Field> getFields()
Copyright © 2015 The Apache Software Foundation