org.apache.hc.core5.http.impl

## Class DefaultAddressResolver

- java.lang.Object
- - org.apache.hc.core5.http.impl.DefaultAddressResolver

- All Implemented Interfaces:
    Resolver<HttpHost,InetSocketAddress>

      public final class DefaultAddressResolver
      extends Object
      implements Resolver<HttpHost,InetSocketAddress>

  Default `HttpHost` to `InetSocketAddress` resolver.
  Since:
    5.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DefaultAddressResolver` | `INSTANCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultAddressResolver()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `InetSocketAddress` | `resolve(HttpHost host)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final DefaultAddressResolver INSTANCE

  - ### Constructor Detail

    - #### DefaultAddressResolver

          public DefaultAddressResolver()

  - ### Method Detail

    - #### resolve

          public InetSocketAddress resolve(HttpHost host)

      Specified by:
        `resolve` in interface `Resolver<HttpHost,InetSocketAddress>`

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.