Uses of Interface
org.apache.juneau.http.remote.RemoteUrlPolicy.AddressResolver
Packages that use RemoteUrlPolicy.AddressResolver
-
Uses of RemoteUrlPolicy.AddressResolver in org.apache.juneau.http.remote
Fields in org.apache.juneau.http.remote declared as RemoteUrlPolicy.AddressResolverModifier and TypeFieldDescriptionstatic final RemoteUrlPolicy.AddressResolverRemoteUrlPolicy.AddressResolver.DEFAULTThe production resolver: real DNS resolution viaInetAddress.getAllByName(String).Methods in org.apache.juneau.http.remote with parameters of type RemoteUrlPolicy.AddressResolverModifier and TypeMethodDescriptionstatic InetAddressRemoteUrlPolicy.selectAllowedAddress(String host, boolean allowPrivateUrls, RemoteUrlPolicy.AddressResolver resolver) Resolveshostand returns the first candidate address that is allowed by the default policy ("pin-on-connect") -- the address the caller should actually connect to.static InetAddressRemoteUrlPolicy.selectAllowedAddress(String host, boolean allowPrivateUrls, RemoteUrlPolicy.AddressResolver resolver, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteUrlPolicy.selectAllowedAddress(String, boolean, AddressResolver), additionally re-permitting candidates inside the per-clientallowedRanges(unioned with the "RestClient.allowAddressRanges" system property).