addProxyCredentials 抽象方法

void addProxyCredentials(
  1. String host,
  2. int port,
  3. String realm,
  4. HttpClientCredentials credentials
)

添加用于授权 HTTP 代理的凭据。

实现

void addProxyCredentials(
    String host, int port, String realm, HttpClientCredentials credentials);