Class SessionClientListener
java.lang.Object
org.eclipse.jetty.http3.client.http.internal.SessionClientListener
- All Implemented Interfaces:
Session.Client.Listener
,Session.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpConnectionOverHTTP3
newHttpConnection
(HttpDestination destination, HTTP3SessionClient session) void
onConnect
(Session.Client session, Throwable failure) void
onDisconnect
(Session session, long error, String reason) Callback method invoked when the underlying transport has been disconnected.void
Callback method invoked when a failure has been detected for this session.boolean
onIdleTimeout
(Session session) Callback method invoked when the idle timeout has expired.void
onSettings
(Session session, SettingsFrame frame) Callback method invoked when a SETTINGS frame has been received.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.http3.api.Session.Listener
onGoAway, onPreface
-
Constructor Details
-
SessionClientListener
-
-
Method Details
-
onConnect
-
onSettings
Description copied from interface:Session.Listener
Callback method invoked when a SETTINGS frame has been received.
- Specified by:
onSettings
in interfaceSession.Listener
- Parameters:
session
- the sessionframe
- the SETTINGS frame received
-
onIdleTimeout
Description copied from interface:Session.Listener
Callback method invoked when the idle timeout has expired.
- Specified by:
onIdleTimeout
in interfaceSession.Listener
- Parameters:
session
- the session- Returns:
- true to confirm the idle timeout, false to ignore the idle timeout
-
onDisconnect
Description copied from interface:Session.Listener
Callback method invoked when the underlying transport has been disconnected.
- Specified by:
onDisconnect
in interfaceSession.Listener
- Parameters:
session
- the sessionerror
- the disconnect errorreason
- the disconnect reason
-
onFailure
Description copied from interface:Session.Listener
Callback method invoked when a failure has been detected for this session.
- Specified by:
onFailure
in interfaceSession.Listener
- Parameters:
session
- the sessionerror
- the failure errorreason
- the failure reasonfailure
- the failure
-
newHttpConnection
protected HttpConnectionOverHTTP3 newHttpConnection(HttpDestination destination, HTTP3SessionClient session)
-