Class DefaultHttpClient.RequestKey

java.lang.Object
io.micronaut.http.client.netty.DefaultHttpClient.RequestKey
Enclosing class:
DefaultHttpClient

public static final class DefaultHttpClient.RequestKey extends Object
Key used for connection pooling and determining host/port.
  • Constructor Details

    • RequestKey

      public RequestKey(DefaultHttpClient ctx, URI requestURI)
      Parameters:
      ctx - The HTTP client that created this request key. Only used for exception context, not stored
      requestURI - The request URI
  • Method Details

    • getRemoteAddress

      public InetSocketAddress getRemoteAddress()
    • isSecure

      public boolean isSecure()
    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object