Package org.eclipse.jetty.util
Class SocketAddressResolver.Sync
- java.lang.Object
 - 
- org.eclipse.jetty.util.SocketAddressResolver.Sync
 
 
- 
- All Implemented Interfaces:
 SocketAddressResolver
- Enclosing interface:
 - SocketAddressResolver
 
@ManagedObject("The synchronous address resolver") @Deprecated(since="2021-05-27") public static class SocketAddressResolver.Sync extends java.lang.Object implements SocketAddressResolver
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Creates
SocketAddressinstances synchronously in the caller thread. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.SocketAddressResolver
SocketAddressResolver.Async, SocketAddressResolver.Sync 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Sync()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete 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
public void resolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)Deprecated.Description copied from interface:SocketAddressResolverResolves the given host and port, returning aSocketAddressthrough the givenPromisewith the default timeout.- Specified by:
 resolvein interfaceSocketAddressResolver- Parameters:
 host- the host to resolveport- the port of the resulting socket addresspromise- the callback invoked when the resolution succeeds or fails
 
 - 
 
 -