public static interface Client.Builder.Proxy
| Modifier and Type | Method and Description |
|---|---|
@NonNull Client.Builder.Proxy |
proxyHost(String host)
Sets the proxy host which the client will use when connecting to the server host.
|
@NonNull Client.Builder.Proxy |
proxyPort(int port)
Sets the proxy port to which the client will connect.
|
@NonNull Client.Builder.Proxy |
proxyType(ProxyType type)
Sets the type of proxy to use when the client connects to the server host.
|
@NonNull Client.Builder |
then()
Returns to the root builder.
|
@NonNull Client.Builder.Proxy proxyHost(String host)
host - proxy hostIllegalArgumentException - for null host@NonNull Client.Builder.Proxy proxyPort(int port)
port - proxy port@NonNull Client.Builder.Proxy proxyType(ProxyType type)
type - one of ProxyType@NonNull Client.Builder then()
Copyright © 2013–2021 Kitteh. All rights reserved.