| Package | Description |
|---|---|
| com.github.steveice10.packetlib |
| Modifier and Type | Method and Description |
|---|---|
ProxyInfo.Type |
ProxyInfo.getType()
Gets the proxy's type.
|
static ProxyInfo.Type |
ProxyInfo.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyInfo.Type[] |
ProxyInfo.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ProxyInfo(ProxyInfo.Type type,
SocketAddress address)
Creates a new unauthenticated ProxyInfo instance.
|
ProxyInfo(ProxyInfo.Type type,
SocketAddress address,
String username,
String password)
Creates a new authenticated ProxyInfo instance.
|
Copyright © 2021. All rights reserved.