Package org.eclipse.jetty.util
Interface SocketAddressResolver
-
- All Known Implementing Classes:
SocketAddressResolver.Async,SocketAddressResolver.Sync
@Deprecated public interface SocketAddressResolverDeprecated.This api is not supported anymore. Please do not use it.Creates
SocketAddressinstances, returning them through aPromise.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSocketAddressResolver.AsyncDeprecated.This api is not supported anymore.static classSocketAddressResolver.SyncDeprecated.This api is not supported anymore.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidresolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)Deprecated.Resolves the given host and port, returning aSocketAddressthrough the givenPromisewith the default timeout.
-
-
-
Method Detail
-
resolve
void resolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)Deprecated.Resolves the given host and port, returning aSocketAddressthrough the givenPromisewith the default timeout.- Parameters:
host- the host to resolveport- the port of the resulting socket addresspromise- the callback invoked when the resolution succeeds or fails
-
-