| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.protocol |
Provides protocol specific socket factory handling.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Protocol |
HttpHost.getProtocol()
Returns the protocol.
|
Protocol |
HttpConnection.getProtocol()
Returns the protocol used to establish the connection.
|
Protocol |
HostConfiguration.getProtocol()
Returns the protocol.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HostConfiguration.setHost(String host,
int port,
Protocol protocol)
Sets the given host, port and protocol.
|
void |
HostConfiguration.setHost(String host,
String virtualHost,
int port,
Protocol protocol)
已过时。
#setHost(String, int, Protocol)
|
void |
HttpConnection.setProtocol(Protocol protocol)
Sets the protocol used to establish the connection
|
| 构造器和说明 |
|---|
HttpConnection(String host,
int port,
Protocol protocol)
Creates a new HTTP connection for the given host and port
using the given protocol.
|
HttpConnection(String proxyHost,
int proxyPort,
String host,
int port,
Protocol protocol)
Creates a new HTTP connection for the given host with the virtual
alias and port via the given proxy host and port using the given
protocol.
|
HttpConnection(String proxyHost,
int proxyPort,
String host,
String virtualHost,
int port,
Protocol protocol)
已过时。
use #HttpConnection(String, int, String, int, Protocol)
|
HttpConnection(String host,
String virtualHost,
int port,
Protocol protocol)
Creates a new HTTP connection for the given host with the virtual
alias and port using given protocol.
|
HttpHost(String hostname,
int port,
Protocol protocol)
Constructor for HttpHost.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Protocol |
Protocol.getProtocol(String id)
Gets the protocol with the given ID.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Protocol.registerProtocol(String id,
Protocol protocol)
Registers a new protocol with the given identifier.
|
Copyright © 2017. All rights reserved.