@Generated(value="org.immutables.processor.ProxyProcessor") public final class ProxyConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyConfiguration.Builder
Builds instances of type
ProxyConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ProxyConfiguration.Builder |
builder()
Creates a builder for
ProxyConfiguration. |
reactor.netty.tcp.TcpClient |
configure(reactor.netty.tcp.TcpClient tcpClient) |
boolean |
equals(Object another)
This instance is equal to all instances of
ProxyConfiguration that have equal attribute values. |
String |
getHost()
The proxy host
|
Optional<String> |
getPassword()
The proxy password
|
Optional<Integer> |
getPort()
The proxy port
|
Optional<String> |
getUsername()
The proxy username
|
int |
hashCode()
Computes a hash code from attributes:
host, password, port, username. |
String |
toString()
Prints the immutable value
ProxyConfiguration with attribute values. |
public String getHost()
public boolean equals(Object another)
ProxyConfiguration that have equal attribute values.public int hashCode()
host, password, port, username.public String toString()
ProxyConfiguration with attribute values.public static ProxyConfiguration.Builder builder()
ProxyConfiguration.
ProxyConfiguration.builder()
.host(String) // required host
.password(String) // optional password
.port(Integer) // optional port
.username(String) // optional username
.build();
public reactor.netty.tcp.TcpClient configure(reactor.netty.tcp.TcpClient tcpClient)
Copyright © 2019. All rights reserved.