Skip to content

Commit b901f73

Browse files
committed
clean code
1 parent 499d12e commit b901f73

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/RequestExecutor.java

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -9,51 +9,13 @@
99
*
1010
* @param <T> 返回值类型
1111
* @param <E> 请求参数类型
12+
* @author Daniel Qian
1213
*/
1314
public interface RequestExecutor<T, E> {
1415

1516
/**
1617
* @param uri uri
1718
* @param data 数据
18-
* @throws WxErrorException
19-
* @throws IOException
2019
*/
2120
T execute(String uri, E data) throws WxErrorException, IOException;
22-
23-
/**
24-
* apache-http实现方式
25-
* @param httpclient
26-
* @param httpProxy
27-
* @param uri
28-
* @param data
29-
* @return
30-
* @throws WxErrorException
31-
* @throws IOException
32-
*//*
33-
T executeApache(CloseableHttpClient httpclient, HttpHost httpProxy, String uri, E data) throws WxErrorException, IOException;
34-
35-
*//**
36-
* jodd-http实现方式
37-
* @param provider
38-
* @param proxyInfo
39-
* @param uri
40-
* @param data
41-
* @return
42-
* @throws WxErrorException
43-
* @throws IOException
44-
*//*
45-
T executeJodd(HttpConnectionProvider provider, ProxyInfo proxyInfo, String uri, E data) throws WxErrorException, IOException;
46-
47-
48-
*//** okhttp实现方式
49-
* @param pool
50-
* @param proxyInfo
51-
* @param uri
52-
* @param data
53-
* @return
54-
* @throws WxErrorException
55-
* @throws IOException
56-
*//*
57-
T executeOkhttp(ConnectionPool pool, final OkHttpProxyInfo proxyInfo, String uri, E data) throws WxErrorException, IOException;
58-
*/
5921
}

0 commit comments

Comments
 (0)