public class SingletonProxyConfigOptions extends Object implements ProxyConfigOptions
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
SingletonProxyConfigOptions.SingletonProxyConfigOptionsHolder |
| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
allowLocalOnly |
private int |
connectTimeout |
private int |
idleTimeout |
private static long |
serialVersionUID |
private int |
serverPort |
private int |
tcpBackLog |
private boolean |
transparent |
private TransportProtocol |
transportProtocol |
private int |
udpBackLog |
ALLOW_LOCAL_ONLY_OPTION, CONNECT_TIMEOUT_OPTION, IDLE_TIMEOUT_OPTION, SERVER_PORT_OPTION, TCP_BACK_LOG_OPTION, TRANSPARENT_OPTION, TRANSPORT_PROTOCOL_OPTION, UDP_BACK_LOG_OPTION| 限定符 | 构造器和说明 |
|---|---|
protected |
SingletonProxyConfigOptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getConnectTimeout() |
ProxyThrottleOption |
getGlobalThrottle() |
ProxyHandlersOption |
getHandlers() |
byte |
getId() |
int |
getIdleTimeout() |
static SingletonProxyConfigOptions |
getInstance() |
int |
getServerPort() |
int |
getTcpBackLog() |
ProxyThreadPoolOption |
getThreadPool() |
ProxyTlsOption |
getTls() |
String |
getTransport() |
TransportProtocol |
getTransportProtocol() |
int |
getUdpBackLog() |
int |
hashCode() |
boolean |
isAllowLocalOnly() |
boolean |
isTransparent() |
void |
setAllowLocalOnly(boolean allowLocalOnly) |
void |
setConnectTimeout(int connectTimeout) |
void |
setIdleTimeout(int idleTimeout) |
void |
setServerPort(int serverPort) |
void |
setTcpBackLog(int tcpBackLog) |
void |
setTransparent(boolean transparent) |
void |
setTransport(String transportProtocol) |
void |
setTransportProtocol(TransportProtocol transportProtocol) |
void |
setUdpBackLog(int udpBackLog) |
String |
toString() |
private static final long serialVersionUID
private TransportProtocol transportProtocol
private int serverPort
private boolean transparent
private int tcpBackLog
private int udpBackLog
private int idleTimeout
private int connectTimeout
private boolean allowLocalOnly
public byte getId()
getId 在接口中 ProxyConfigOptionspublic TransportProtocol getTransportProtocol()
getTransportProtocol 在接口中 ProxyConfigOptionspublic void setTransportProtocol(TransportProtocol transportProtocol)
setTransportProtocol 在接口中 ProxyConfigOptionspublic int getServerPort()
getServerPort 在接口中 ProxyConfigOptionspublic void setServerPort(int serverPort)
setServerPort 在接口中 ProxyConfigOptionspublic boolean isTransparent()
isTransparent 在接口中 ProxyConfigOptionspublic void setTransparent(boolean transparent)
setTransparent 在接口中 ProxyConfigOptionspublic int getTcpBackLog()
getTcpBackLog 在接口中 ProxyConfigOptionspublic void setTcpBackLog(int tcpBackLog)
setTcpBackLog 在接口中 ProxyConfigOptionspublic int getUdpBackLog()
getUdpBackLog 在接口中 ProxyConfigOptionspublic void setUdpBackLog(int udpBackLog)
setUdpBackLog 在接口中 ProxyConfigOptionspublic int getIdleTimeout()
getIdleTimeout 在接口中 ProxyConfigOptionspublic void setIdleTimeout(int idleTimeout)
setIdleTimeout 在接口中 ProxyConfigOptionspublic int getConnectTimeout()
getConnectTimeout 在接口中 ProxyConfigOptionspublic void setConnectTimeout(int connectTimeout)
setConnectTimeout 在接口中 ProxyConfigOptionspublic boolean isAllowLocalOnly()
isAllowLocalOnly 在接口中 ProxyConfigOptionspublic void setAllowLocalOnly(boolean allowLocalOnly)
setAllowLocalOnly 在接口中 ProxyConfigOptionspublic ProxyThreadPoolOption getThreadPool()
getThreadPool 在接口中 ProxyConfigOptionspublic ProxyTlsOption getTls()
getTls 在接口中 ProxyConfigOptionspublic ProxyThrottleOption getGlobalThrottle()
getGlobalThrottle 在接口中 ProxyConfigOptionspublic ProxyHandlersOption getHandlers()
getHandlers 在接口中 ProxyConfigOptionspublic String getTransport()
getTransport 在接口中 ProxyConfigOptionspublic void setTransport(String transportProtocol)
setTransport 在接口中 ProxyConfigOptionspublic static SingletonProxyConfigOptions getInstance()
Copyright © 2022 Zodiac. All rights reserved.