org.apache.hc.core5.http.io

## Interface HttpConnectionFactory<T extends HttpConnection>

- All Known Implementing Classes:
    DefaultBHttpClientConnectionFactory, DefaultBHttpServerConnectionFactory, LoggingBHttpClientConnectionFactory, LoggingBHttpServerConnectionFactory

      public interface HttpConnectionFactory<T extends HttpConnection>

  Factory for `HttpConnection` instances.
  Since:
    4.3

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `createConnection(Socket socket)`

- - ### Method Detail

    - #### createConnection

          T createConnection(Socket socket)
                                                    throws IOException

      Throws:
        `IOException`

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