public class Proxy extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
hostAddress |
String |
password |
int |
port |
Proxy.Type |
type |
String |
user |
public final String hostAddress
public final int port
public final String user
public final String password
public final Proxy.Type type
public Proxy(String hostAddress, int port, String user, String password, Proxy.Type type)
hostAddress - 服务器域名或IP,比如aoju.org, 192.168.1.1port - 端口user - 用户名,无则填nullpassword - 用户密码,无则填nulltype - 代理类型public Proxy(String hostAddress, int port)
Copyright © 2019. All rights reserved.