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(Configuration conf) |
getAccept, getAcceptLanguage, getConf, getMaxContent, getProtocolOutput, getProxyHost, getProxyPort, getRobotRules, getTimeout, getTlsPreferredCipherSuites, getTlsPreferredProtocols, getUseHttp11, getUserAgent, logConf, main, processDeflateEncoded, processGzipEncoded, useProxy
public void setConf(Configuration conf)
setConf
in interface Configurable
setConf
in class HttpBase
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