Class HttpProfile


  • public class HttpProfile
    extends Object
    • Constructor Detail

      • HttpProfile

        public HttpProfile()
    • Method Detail

      • getReqMethod

        public String getReqMethod()
      • setReqMethod

        public HttpProfile setReqMethod​(String reqMethod)
        Set request method, GET or POST or PUT or DELETE
        Parameters:
        reqMethod - GET or POST or PUT or DELETE
      • getReadTimeout

        public int getReadTimeout()
      • setReadTimeout

        public HttpProfile setReadTimeout​(int readTimeout)
        Set read timeout value.
        Parameters:
        readTimeout - A integer represents time in seconds.
      • getWriteTimeout

        public int getWriteTimeout()
      • setWriteTimeout

        public HttpProfile setWriteTimeout​(int writeTimeout)
        Set write timeout value.
        Parameters:
        writeTimeout - A integer represents time in seconds.
      • getConnTimeout

        public int getConnTimeout()
      • setConnTimeout

        public HttpProfile setConnTimeout​(int connTimeout)
        Set connect timeout value.
        Parameters:
        connTimeout - A integer represents time in seconds.
      • getProtocol

        public String getProtocol()
      • setProtocol

        public HttpProfile setProtocol​(String protocol)
        Set request protocol.
        Parameters:
        protocol - https:// or http://
      • getProxyPort

        public int getProxyPort()
      • setProxyPort

        public HttpProfile setProxyPort​(int proxyPort)
      • getProxyUser

        public String getProxyUser()
      • getProxyPasswd

        public String getProxyPasswd()
      • getProxyHost

        public String getProxyHost()
      • getRootDomain

        public String getRootDomain()
      • getToolPath

        public String getToolPath()