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

public Class HTTP3SessionClient

extends HTTP3Session
implements Client
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.http3.api.Session.Client, org.eclipse.jetty.http3.api.Session
Imports
java.util.concurrent.CompletableFuture, org.eclipse.jetty.http3.HTTP3ErrorCode, .HTTP3Session, org.eclipse.jetty.http3.api.Session, .Stream, org.eclipse.jetty.http3.frames.Frame, .GoAwayFrame, .HeadersFrame, .SettingsFrame, org.eclipse.jetty.quic.common.ProtocolSession, .QuicStreamEndPoint, .StreamType, org.eclipse.jetty.util.Callback, .Promise, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final Logger
private final Promise<Session.Client>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ClientHTTP3Session
protected GoAwayFrame
protected HTTP3StreamClient
public CompletableFuture<Stream>
newRequest(HeadersFrame frame, Stream.Client.Listener listener)

Implements org.eclipse.jetty.http3.api.Session.Client.newRequest.

Makes a request by creating a HTTP/3 stream and sending the given HEADERS frame.

private CompletableFuture<Stream>
newRequest(long streamId, HeadersFrame frame, Stream.Client.Listener listener)

public void
public void
public void
public void
public void
writeMessageFrame(long streamId, Frame frame, Callback callback)

Implements abstract org.eclipse.jetty.http3.HTTP3Session.writeMessageFrame.

Inherited from org.eclipse.jetty.http3.HTTP3Session:
createStreamdumpgetIdleTimeoutgetListenergetLocalSocketAddressgetMaxLocalStreamsgetOrCreateStreamgetRemoteSocketAddressgetStreamgetStreamIdleTimeoutgetStreamsgoAwayinwardCloseisClosedonCloseonDataonGoAwayonIdleTimeoutonPrefaceonSessionFailureonStreamFailureremoveStreamsetStreamIdleTimeoutshutdowntoString

Field Detail

LOGback to summary
private static final Logger LOG

Hides org.eclipse.jetty.http3.HTTP3Session.LOG.

promiseback to summary
private final Promise<Session.Client> promise

Constructor Detail

HTTP3SessionClientback to summary
public HTTP3SessionClient(ClientHTTP3Session session, Session.Client.Listener listener, Promise<Session.Client> promise)

Method Detail

getProtocolSessionback to summary
public ClientHTTP3Session getProtocolSession()

Overrides org.eclipse.jetty.http3.HTTP3Session.getProtocolSession.

Annotations
@Override
newGoAwayFrameback to summary
protected GoAwayFrame newGoAwayFrame(boolean graceful)

Overrides org.eclipse.jetty.http3.HTTP3Session.newGoAwayFrame.

Annotations
@Override
newHTTP3Streamback to summary
protected HTTP3StreamClient newHTTP3Stream(QuicStreamEndPoint endPoint, boolean local)

Implements abstract org.eclipse.jetty.http3.HTTP3Session.newHTTP3Stream.

Annotations
@Override
newRequestback to summary
public CompletableFuture<Stream> newRequest(HeadersFrame frame, Stream.Client.Listener listener)

Implements org.eclipse.jetty.http3.api.Session.Client.newRequest.

Doc from org.eclipse.jetty.http3.api.Session.Client.newRequest.

Makes a request by creating a HTTP/3 stream and sending the given HEADERS frame.

Annotations
@Override
newRequestback to summary
private CompletableFuture<Stream> newRequest(long streamId, HeadersFrame frame, Stream.Client.Listener listener)
onHeadersback to summary
public void onHeaders(long streamId, HeadersFrame frame, boolean wasBlocked)

Overrides org.eclipse.jetty.http3.HTTP3Session.onHeaders.

Overrides default org.eclipse.jetty.http3.parser.ParserListener.onHeaders.

Annotations
@Override
onOpenback to summary
public void onOpen()

Overrides org.eclipse.jetty.http3.HTTP3Session.onOpen.

Annotations
@Override
onSettingsback to summary
public void onSettings(SettingsFrame frame)

Overrides org.eclipse.jetty.http3.HTTP3Session.onSettings.

Overrides default org.eclipse.jetty.http3.parser.ParserListener.onSettings.

Annotations
@Override
writeControlFrameback to summary
public void writeControlFrame(Frame frame, Callback callback)

Implements abstract org.eclipse.jetty.http3.HTTP3Session.writeControlFrame.

Annotations
@Override
writeMessageFrameback to summary
public void writeMessageFrame(long streamId, Frame frame, Callback callback)

Implements abstract org.eclipse.jetty.http3.HTTP3Session.writeMessageFrame.

Annotations
@Override