Class QuicTransport
java.lang.Object
org.eclipse.jetty.io.Transport.Wrapper
org.eclipse.jetty.quic.client.QuicTransport
- All Implemented Interfaces:
Transport
A Transport for QUIC that delegates to another Transport.
By default, the delegate is Transport.UDP_IP, but it may be a different
implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionQuicTransport(Transport wrapped, ClientQuicConfiguration quicConfiguration) QuicTransport(ClientQuicConfiguration quicConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleannewConnection(EndPoint endPoint, Map<String, Object> context) Creates a newConnectionto be associated with the given low-levelEndPoint.Methods inherited from class Transport.Wrapper
connect, getSocketAddress, getWrapped, newEndPoint, newSelectableChannel, requiresDomainNameResolution, toString, unwrap
-
Constructor Details
-
QuicTransport
-
QuicTransport
-
-
Method Details
-
isIntrinsicallySecure
public boolean isIntrinsicallySecure()- Specified by:
isIntrinsicallySecurein interfaceTransport- Overrides:
isIntrinsicallySecurein classTransport.Wrapper- Returns:
- whether this
Transportis intrinsically secure.
-
newConnection
Description copied from interface:TransportCreates a new
Connectionto be associated with the given low-levelEndPoint.For non-layered
Transports such as TCP/IP, theConnectionis typically that of the high-level protocol. For layeredTransports such as QUIC, theConnectionis typically that of the layeredTransport.- Specified by:
newConnectionin interfaceTransport- Overrides:
newConnectionin classTransport.Wrapper- Parameters:
endPoint- theEndPointto associate theConnectiontocontext- the context information to create the connection- Returns:
- a new
Connection - Throws:
IOException- if theConnectioncannot be created
-
hashCode
-
equals
-