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
IOException
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
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.