Package org.eclipse.jetty.http3.client
Class HTTP3ClientConnectionFactory
java.lang.Object
org.eclipse.jetty.http3.client.HTTP3ClientConnectionFactory
- All Implemented Interfaces:
ClientConnectionFactory
,ProtocolSession.Factory
public class HTTP3ClientConnectionFactory
extends Object
implements ClientConnectionFactory, ProtocolSession.Factory
A ClientConnectionFactory
implementation that creates HTTP/3 specific
Connection
objects to be linked to a QuicStreamEndPoint
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator, ClientConnectionFactory.Info
-
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CLIENT_CONTEXT_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnewConnection
(EndPoint endPoint, Map<String, Object> context) newProtocolSession
(QuicSession quicSession, Map<String, Object> context) 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
-
Constructor Details
-
HTTP3ClientConnectionFactory
public HTTP3ClientConnectionFactory()
-
-
Method Details
-
newProtocolSession
- Specified by:
newProtocolSession
in interfaceProtocolSession.Factory
-
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
-