org.apache.synapse.transport.nhttp

## Class ConnectionPool

- java.lang.Object
- - org.apache.synapse.transport.nhttp.ConnectionPool

-     public class ConnectionPool
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectionPool()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `forget(org.apache.http.nio.NHttpClientConnection conn)`
    `org.apache.http.nio.NHttpClientConnection` | `getConnection(org.apache.http.conn.routing.HttpRoute route)`
    `List<org.apache.http.nio.NHttpClientConnection>` | `getSslConnectionsList(Set<String> hostList)` Returns SSL Connections List for the given list host:port combinations
    `void` | `release(org.apache.http.nio.NHttpClientConnection conn)`

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

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

- - ### Constructor Detail

    - #### ConnectionPool

          public ConnectionPool()

  - ### Method Detail

    - #### getConnection

          public org.apache.http.nio.NHttpClientConnection getConnection(org.apache.http.conn.routing.HttpRoute route)

    - #### release

          public void release(org.apache.http.nio.NHttpClientConnection conn)

    - #### forget

          public void forget(org.apache.http.nio.NHttpClientConnection conn)

    - #### getSslConnectionsList

          public List<org.apache.http.nio.NHttpClientConnection> getSslConnectionsList(Set<String> hostList)

      Returns SSL Connections List for the given list host:port combinations
      Parameters:
        `hostList` - String List in Host:Port format
      Returns:
        List of NHttpClientConnection

Copyright © 2005–2018 Apache Software Foundation. All rights reserved.