Class HttpClient
java.lang.Object
cool.scx.http.x.HttpClient
- All Implemented Interfaces:
ScxHttpClient
todo 待完成
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncool.scx.tcp.ScxTCPSocket创建 明文 socketcool.scx.tcp.ScxTCPSocket创建 具有代理 的 明文 socketcool.scx.tcp.ScxTCPSocketcreateTCPSocket(ScxURI uri, String... applicationProtocols) cool.scx.tcp.ScxTCPSocketcreateTLSTCPSocket(ScxURI uri, String... applicationProtocols) 创建 tls socketcool.scx.tcp.ScxTCPSocketcreateTLSTCPSocketWithProxy(ScxURI uri, String... applicationProtocols) 创建 具有代理 的 tls socketoptions()request()
-
Constructor Details
-
HttpClient
-
HttpClient
public HttpClient()
-
-
Method Details
-
options
-
createTCPSocket
public cool.scx.tcp.ScxTCPSocket createTCPSocket(ScxURI uri, String... applicationProtocols) throws IOException - Throws:
IOException
-
createPlainTCPSocket
创建 明文 socket- Throws:
IOException
-
createTLSTCPSocket
public cool.scx.tcp.ScxTCPSocket createTLSTCPSocket(ScxURI uri, String... applicationProtocols) throws IOException 创建 tls socket- Throws:
IOException
-
createPlainTCPSocketWithProxy
创建 具有代理 的 明文 socket- Throws:
IOException
-
createTLSTCPSocketWithProxy
public cool.scx.tcp.ScxTCPSocket createTLSTCPSocketWithProxy(ScxURI uri, String... applicationProtocols) throws IOException 创建 具有代理 的 tls socket- Throws:
IOException
-
request
- Specified by:
requestin interfaceScxHttpClient
-