Class Socks4ProxyConfig
java.lang.Object
com.linecorp.armeria.client.proxy.ProxyConfig
com.linecorp.armeria.client.proxy.Socks4ProxyConfig
public final class Socks4ProxyConfig extends ProxyConfig
SOCKS4 proxy configuration.
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
InetSocketAddress
proxyAddress()
Returns the proxy address which isnull
only forProxyType.DIRECT
.ProxyType
proxyType()
Returns the proxy type.String
toString()
String
username()
Returns the configured username.
-
Method Details
-
proxyAddress
Description copied from class:ProxyConfig
Returns the proxy address which isnull
only forProxyType.DIRECT
.- Specified by:
proxyAddress
in classProxyConfig
-
username
Returns the configured username. -
proxyType
Description copied from class:ProxyConfig
Returns the proxy type.- Specified by:
proxyType
in classProxyConfig
-
equals
-
hashCode
public int hashCode() -
toString
-