Interface ServerSessionListener
-
- All Superinterfaces:
Session.Listener
- All Known Implementing Classes:
HTTP2ServerConnectionFactory.HTTPServerSessionListener
,ServerSessionListener.Adapter
public interface ServerSessionListener extends Session.Listener
Server-side extension of
Session.Listener
that exposes additional events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServerSessionListener.Adapter
Empty implementation ofServerSessionListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAccept(Session session)
Callback method invoked when a connection has been accepted by the server.-
Methods inherited from interface org.eclipse.jetty.http2.api.Session.Listener
onClose, onClose, onFailure, onFailure, onGoAway, onIdleTimeout, onNewStream, onPing, onPreface, onReset, onSettings
-
-
-
-
Method Detail
-
onAccept
void onAccept(Session session)
Callback method invoked when a connection has been accepted by the server.
- Parameters:
session
- the session
-
-