com.taosdata.jdbc.utils

## 类 HttpClientPoolUtil

- java.lang.Object
- - com.taosdata.jdbc.utils.HttpClientPoolUtil

    public class HttpClientPoolUtil
    extends Object

### 字段概要

字段
`static String` `DEFAULT_CONNECT_TIMEOUT`
`static String` `DEFAULT_HTTP_KEEP_ALIVE`
`static String` `DEFAULT_MAX_PER_ROUTE`
`static String` `DEFAULT_SOCKET_TIMEOUT`

### 构造器概要

构造器
构造器和说明
`HttpClientPoolUtil()`

### 方法概要

所有方法 静态方法 具体方法
`static String` `execute(String uri)` execute GET request
`static String` `execute(String uri, String data, String auth)`
`static String` `execute(String uri, String data, String auth, Long reqId)` execute POST request
`static void` `init(Properties props)`

### 从类继承的方法 java.lang.Object

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

### 字段详细资料

#### DEFAULT_HTTP_KEEP_ALIVE

    public static final String DEFAULT_HTTP_KEEP_ALIVE

另请参阅:
  常量字段值

#### DEFAULT_MAX_PER_ROUTE

    public static final String DEFAULT_MAX_PER_ROUTE

另请参阅:
  常量字段值

#### DEFAULT_CONNECT_TIMEOUT

    public static final String DEFAULT_CONNECT_TIMEOUT

另请参阅:
  常量字段值

#### DEFAULT_SOCKET_TIMEOUT

    public static final String DEFAULT_SOCKET_TIMEOUT

另请参阅:
  常量字段值

### 构造器详细资料

#### HttpClientPoolUtil

    public HttpClientPoolUtil()

### 方法详细资料

#### init

    public static void init(Properties props)

#### execute

    public static String execute(String uri)
                          throws SQLException

execute GET request

抛出:
  `SQLException`

#### execute

    public static String execute(String uri,
                                 String data,
                                 String auth)
                          throws SQLException

抛出:
  `SQLException`

#### execute

    public static String execute(String uri,
                                 String data,
                                 String auth,
                                 Long reqId)
                          throws SQLException

execute POST request

抛出:
  `SQLException`