Top Fields Constructors Methods
org.eclipse.jetty.alpn.client

public Class ALPNClientConnectionFactory

extends NegotiatingClientConnectionFactory
Class Inheritance
Imports
java.util.ArrayList, .List, .Map, .ServiceLoader, java.util.concurrent.Executor, javax.net.ssl.SSLEngine, org.eclipse.jetty.io.ClientConnectionFactory, .Connection, .EndPoint, .NegotiatingClientConnectionFactory, org.eclipse.jetty.io.ssl.ALPNProcessor.Client, .SslClientConnectionFactory, org.eclipse.jetty.util.TypeUtil, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final Executor
private static final Logger
private final List<ALPNProcessor.Client>
private final List<String>

Constructor Summary

AccessConstructor and Description
public
ALPNClientConnectionFactory(Executor executor, ClientConnectionFactory connectionFactory, List<String> protocols)

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 org.eclipse.jetty.io.NegotiatingClientConnectionFactory:
getClientConnectionFactory

Field Detail

executorback to summary
private final Executor executor
LOGback to summary
private static final Logger LOG
processorsback to summary
private final List<ALPNProcessor.Client> processors
protocolsback to summary
private final List<String> protocols

Constructor Detail

ALPNClientConnectionFactoryback to summary
public ALPNClientConnectionFactory(Executor executor, ClientConnectionFactory connectionFactory, List<String> protocols)

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