Package org.eclipse.jetty.util
Interface SocketAddressResolver
- All Known Implementing Classes:
SocketAddressResolver.Async,SocketAddressResolver.Sync
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Creates SocketAddress instances, returning them through a Promise.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.static classDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported. -
Method Summary
Modifier and TypeMethodDescriptionvoidresolve(String host, int port, Promise<List<InetSocketAddress>> promise) Deprecated.Resolves the given host and port, returning aSocketAddressthrough the givenPromisewith the default timeout.
-
Method Details
-
resolve
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
-