Class HttpDefaultsWrapper.HttpDefaultsWrapperBuilder<C extends HttpDefaultsWrapper,​B extends HttpDefaultsWrapper.HttpDefaultsWrapperBuilder<C,​B>>

    • Constructor Detail

      • HttpDefaultsWrapperBuilder

        public HttpDefaultsWrapperBuilder()
    • Method Detail

      • withBody

        public B withBody​(java.lang.String body)
        set body.
      • withPostBodyRaw

        protected B withPostBodyRaw​(java.lang.Boolean postBodyRaw)
        set body.
      • withPort

        public B withPort​(int port)
        Port Number.
      • withPort

        public B withPort​(Variable port)
        Port Number.
      • withPort

        public B withPort​(java.lang.String port)
        Port Number.
      • withProxyPort

        public B withProxyPort​(int proxyPort)
        set Proxy Port.
      • withProxyPort

        public B withProxyPort​(Variable proxyPort)
        set Proxy Port.
      • withProxyPort

        public B withProxyPort​(java.lang.String proxyPort)
        set Proxy Port.
      • withConcurrentPool

        public B withConcurrentPool​(int pool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConcurrentPool

        public B withConcurrentPool​(Variable pool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConcurrentPool

        public B withConcurrentPool​(java.lang.String concurrentPool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConnectTimeout

        public B withConnectTimeout​(int timeout)
        set Connect Timeout.
      • withConnectTimeout

        public B withConnectTimeout​(Variable timeout)
        set Connect Timeout.
      • withConnectTimeout

        public B withConnectTimeout​(java.lang.String connectTimeout)
        set Connect Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(int timeout)
        set Response Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(Variable timeout)
        set Response Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(java.lang.String responseTimeout)
        set Response Timeout.
      • addArguments

        public B addArguments​(java.util.Collection<HTTPArgumentWrapper> arguments)
        Add arguments. Each argument consists of a name/value pair, as well as (optional) metadata.
        Parameters:
        arguments - List of arguments.
      • addArgument

        public B addArgument​(java.lang.String name,
                             java.lang.String value)
        Add argument, consists of a name/value pair, default metadata is '='.
        Parameters:
        name - name.
        value - value.
      • addArgument

        public B addArgument​(HTTPArgumentWrapper argument)
        Add arguments. Each argument consists of a name/value pair, as well as (optional) metadata.
        Parameters:
        argument - argument. to be add
      • withDomain

        public B withDomain​(java.lang.String domain)
        Returns:
        this.
      • withPath

        public B withPath​(java.lang.String path)
        Returns:
        this.
      • withProtocol

        public B withProtocol​(java.lang.String protocol)
        Returns:
        this.
      • withContentEncoding

        public B withContentEncoding​(java.lang.String contentEncoding)
        Returns:
        this.
      • withImplementation

        public B withImplementation​(Implementation implementation)
        Returns:
        this.
      • withIpSourceType

        public B withIpSourceType​(IpSourceType ipSourceType)
        Returns:
        this.
      • withIpSource

        public B withIpSource​(java.lang.String ipSource)
        Returns:
        this.
      • withProxyScheme

        public B withProxyScheme​(java.lang.String proxyScheme)
        Returns:
        this.
      • withProxyHost

        public B withProxyHost​(java.lang.String proxyHost)
        Returns:
        this.
      • withProxyUser

        public B withProxyUser​(java.lang.String proxyUser)
        Returns:
        this.
      • withProxyPass

        public B withProxyPass​(java.lang.String proxyPass)
        Returns:
        this.
      • withMd5

        public B withMd5​(java.lang.Boolean md5)
        Returns:
        this.
      • withEmbeddedUrlRE

        public B withEmbeddedUrlRE​(java.lang.String embeddedUrlRE)
        Returns:
        this.
      • withEmbeddedUrlExcludeRE

        public B withEmbeddedUrlExcludeRE​(java.lang.String embeddedUrlExcludeRE)
        Returns:
        this.
      • withConcurrentDwn

        public B withConcurrentDwn​(java.lang.Boolean concurrentDwn)
        Returns:
        this.
      • withImageParser

        public B withImageParser​(java.lang.Boolean imageParser)
        Returns:
        this.