Session.Listener
HTTP2ServerConnectionFactory.HTTPServerSessionListener
, ServerSessionListener.Adapter
public interface ServerSessionListener extends Session.Listener
Server-side extension of Session.Listener
that exposes additional events.
Modifier and Type | Interface | Description |
---|---|---|
static class |
ServerSessionListener.Adapter |
Empty implementation of
ServerSessionListener |
Modifier and Type | Method | Description |
---|---|---|
void |
onAccept(Session session) |
Callback method invoked when a connection has been accepted by the server.
|
onClose, onClose, onFailure, onFailure, onIdleTimeout, onNewStream, onPing, onPreface, onReset, onSettings
void onAccept(Session session)
Callback method invoked when a connection has been accepted by the server.
session
- the sessionCopyright © 1995–2018 Webtide. All rights reserved.