@FunctionalInterface
public interface HostAndPortMapper
It is used to translate an advertised server address to one that is reachable by the client, especially in network topologies involving NAT or containerization.
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
getHostAndPort(HostAndPort hap) |
HostAndPort getHostAndPort(HostAndPort hap)
hap - The original address from the server.Copyright © 2025. All rights reserved.