public class ProxyOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyOptions.Type
The type of the proxy.
|
| Constructor and Description |
|---|
ProxyOptions(ProxyOptions.Type type,
InetSocketAddress address)
Creates ProxyOptions.
|
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getAddress() |
ProxyOptions.Type |
getType() |
public ProxyOptions(ProxyOptions.Type type, InetSocketAddress address)
type - the proxy typeaddress - the proxy address (ip and port number)public InetSocketAddress getAddress()
public ProxyOptions.Type getType()
Copyright © 2019 Microsoft Corporation. All rights reserved.