Interface RemoteUrlPolicy.AddressResolver

Enclosing class:
RemoteUrlPolicy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Resolves the InetAddress candidates for a hostname. Injectable so pin-on-connect tests can simulate DNS rebinding / mixed A+AAAA / blocked-address resolution without depending on live (and flaky) DNS.