Package 

Class AbstractNativeHttpProtocol

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int BUFFER_SIZE
    • Method Summary

      Modifier and Type Method Description
      void setConf(ImmutableConfig jobConf)
      Array<byte> processGzipEncoded(Array<byte> compressed, URL url)
      Array<byte> processDeflateEncoded(Array<byte> compressed, URL url)
      abstract Response getResponse(@NotNull() String url, @NotNull() WebPage page, boolean followRedirects)
      • Methods inherited from class ai.platon.pulsar.crawl.protocol.http.AbstractHttpProtocol

        close, getConf, getProtocolOutput, getProtocolOutputDeferred, getResponse, getResponseDeferred, getResponses, getRobotRules, getSupportParallel, isActive, reset, setConf, toString
      • Methods inherited from class ai.platon.pulsar.crawl.protocol.Protocol

        cancel, cancelAll, getProtocolOutput, getResponses, getRobotRules, getSupportParallel, setResponse
      • Methods inherited from class ai.platon.pulsar.common.config.Configurable

        getConf, setConf
      • Methods inherited from class java.lang.AutoCloseable

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait