Interface SocketAddressResolver

  • All Known Implementing Classes:
    SocketAddressResolver.Async, SocketAddressResolver.Sync

    @Deprecated(since="2021-05-27")
    public interface SocketAddressResolver
    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 Classes 
      Modifier and Type Interface Description
      static class  SocketAddressResolver.Async
      Deprecated.
      The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
      static class  SocketAddressResolver.Sync
      Deprecated.
      The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void resolve​(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)
      Deprecated.
      Resolves the given host and port, returning a SocketAddress through the given Promise with 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 a SocketAddress through the given Promise with the default timeout.
        Parameters:
        host - the host to resolve
        port - the port of the resulting socket address
        promise - the callback invoked when the resolution succeeds or fails