Package org.webpieces.http2client.impl
Class Http2ClientImpl
- java.lang.Object
-
- org.webpieces.http2client.impl.Http2ClientImpl
-
- All Implemented Interfaces:
Http2Client
public class Http2ClientImpl extends java.lang.Object implements Http2Client
-
-
Constructor Summary
Constructors Constructor Description Http2ClientImpl(java.lang.String id, org.webpieces.nio.api.ChannelManager mgr, com.webpieces.http2engine.api.client.Http2ClientEngineFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Http2SocketcreateHttpSocket(Http2SocketListener listener)HttpClientSocket is so you can send multiple requestsHttp2SocketcreateHttpsSocket(javax.net.ssl.SSLEngine engine, Http2SocketListener listener)HttpClientSocket is so you can send multiple requests.
-
-
-
Method Detail
-
createHttpSocket
public Http2Socket createHttpSocket(Http2SocketListener listener)
Description copied from interface:Http2ClientHttpClientSocket is so you can send multiple requests- Specified by:
createHttpSocketin interfaceHttp2Client- Returns:
-
createHttpsSocket
public Http2Socket createHttpsSocket(javax.net.ssl.SSLEngine engine, Http2SocketListener listener)
Description copied from interface:Http2ClientHttpClientSocket is so you can send multiple requests.- Specified by:
createHttpsSocketin interfaceHttp2Client- Returns:
-
-