Package org.eclipse.jetty.client.http
Class HttpClientConnectionFactory
java.lang.Object
org.eclipse.jetty.client.http.HttpClientConnectionFactory
- All Implemented Interfaces:
ClientConnectionFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator, ClientConnectionFactory.Info
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ClientConnectionFactory.Info
Representation of theHTTP/1.1
application protocol used byHttpClientTransportDynamic
.Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CLIENT_CONTEXT_KEY
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
customize
-
Field Details
-
HTTP11
Representation of the
HTTP/1.1
application protocol used byHttpClientTransportDynamic
.
-
-
Constructor Details
-
HttpClientConnectionFactory
public HttpClientConnectionFactory()
-
-
Method Details
-
newConnection
- Specified by:
newConnection
in interfaceClientConnectionFactory
- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
-