JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.netty.resolver

Interface AddressResolver<T extends SocketAddress>

    • Method Detail

      • isSupported

        boolean isSupported(SocketAddress address)
        Returns true if and only if the specified address is supported by this resolved.
      • isResolved

        boolean isResolved(SocketAddress address)
        Returns true if and only if the specified address has been resolved.
        Throws:
        UnsupportedAddressTypeException - if the specified address is not supported by this resolver
      • resolve

        Future<T> resolve(SocketAddress address)
        Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
        Parameters:
        address - the address to resolve
        Returns:
        the SocketAddress as the result of the resolution
      • resolve

        Future<T> resolve(SocketAddress address,
         Promise<T> promise)
        Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
        Parameters:
        address - the address to resolve
        promise - the Promise which will be fulfilled when the name resolution is finished
        Returns:
        the SocketAddress as the result of the resolution
      • resolveAll

        Future<List<T>> resolveAll(SocketAddress address)
        Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
        Parameters:
        address - the address to resolve
        Returns:
        the list of the SocketAddresses as the result of the resolution
      • resolveAll

        Future<List<T>> resolveAll(SocketAddress address,
         Promise<List<T>> promise)
        Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
        Parameters:
        address - the address to resolve
        promise - the Promise which will be fulfilled when the name resolution is finished
        Returns:
        the list of the SocketAddresses as the result of the resolution
      • close

        void close()
        Closes all the resources allocated and used by this resolver.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2008–2025 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /