Package org.webpieces.httpclient11.impl
Class HttpClientImpl
- java.lang.Object
-
- org.webpieces.httpclient11.impl.HttpClientImpl
-
- All Implemented Interfaces:
HttpClient
public class HttpClientImpl extends java.lang.Object implements HttpClient
-
-
Constructor Summary
Constructors Constructor Description HttpClientImpl(java.lang.String id, org.webpieces.nio.api.ChannelManager mgr, org.webpieces.httpparser.api.HttpParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpSocketcreateHttpSocket(HttpSocketListener socketListener)HttpSocket is so you can send multiple requestsHttpSocketcreateHttpsSocket(javax.net.ssl.SSLEngine engine, HttpSocketListener socketListener)
-
-
-
Method Detail
-
createHttpSocket
public HttpSocket createHttpSocket(HttpSocketListener socketListener)
Description copied from interface:HttpClientHttpSocket is so you can send multiple requests- Specified by:
createHttpSocketin interfaceHttpClient- Returns:
-
createHttpsSocket
public HttpSocket createHttpsSocket(javax.net.ssl.SSLEngine engine, HttpSocketListener socketListener)
- Specified by:
createHttpsSocketin interfaceHttpClient
-
-