Top Inners Fields Constructors Methods
org.eclipse.jetty.client.transport

public Class HttpClientConnectionFactory

extends Object
implements ClientConnectionFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.io.ClientConnectionFactory
Imports
java.util.List, .Map, org.eclipse.jetty.client.transport.internal.HttpConnectionOverHTTP, org.eclipse.jetty.io.ClientConnectionFactory, .EndPoint

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
public static final ClientConnectionFactory.Info
HTTP11

Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Connection
newConnection(EndPoint
the org.eclipse.jetty.io.EndPoint to link the newly created connection to
endPoint
,
Map<String, Object>
the context data to create the connection
context
)

Implements org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

HTTP11back to summary
public static final ClientConnectionFactory.Info HTTP11

Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.

Constructor Detail

HttpClientConnectionFactoryback to summary
public HttpClientConnectionFactory()

Method Detail

newConnectionback to summary
public Connection newConnection(EndPoint endPoint, Map<String, Object> context)

Implements org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

Parameters
endPoint:EndPoint

Doc from org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

the org.eclipse.jetty.io.EndPoint to link the newly created connection to

context:Map<String, Object>

Doc from org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

the context data to create the connection

Returns:Connection

Doc from org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

a new Connection

Annotations
@Override
org.eclipse.jetty.client.transport back to summary

private Class HttpClientConnectionFactory.HTTP11

extends Info
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final List<String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public List<String>
public String
toString()

Overrides org.eclipse.jetty.util.component.AbstractLifeCycle.toString.

Returns a string representation of the object.

Inherited from org.eclipse.jetty.io.ClientConnectionFactory.Info:
getClientConnectionFactorymatchesupgrade

Field Detail

protocolsback to summary
private static final List<String> protocols

Constructor Detail

HTTP11back to summary
private HTTP11(ClientConnectionFactory factory)

Method Detail

getProtocolsback to summary
public List<String> getProtocols(boolean secure)

Implements abstract org.eclipse.jetty.io.ClientConnectionFactory.Info.getProtocols.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.eclipse.jetty.util.component.AbstractLifeCycle.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override