T
- The type of HttpConnection
.public interface HttpConnectionFactory<T extends HttpConnection>
HttpConnection
instances.Modifier and Type | Method and Description |
---|---|
T |
createConnection(Socket socket)
|
default T |
createConnection(SSLSocket sslSocket,
Socket socket)
|
T createConnection(Socket socket) throws IOException
socket
- the plain socket SSL socket has been layered over.IOException
- in case of an I/O error.default T createConnection(SSLSocket sslSocket, Socket socket) throws IOException
sslSocket
- the SSL socket. May be null
.socket
- the plain socket SSL socket has been layered over.IOException
- in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.