Interface HTTP2Session.LifeCycleListener
- All Superinterfaces:
 EventListener
- Enclosing class:
 HTTP2Session
Listener for open/close Session events.
Applications can register instances of this class either
directly on the HTTP/2 session via
HTTP2Session.addEventListener(EventListener), or by adding
the instances as beans to either the HTTP2Client (on the
client), or the HTTP/2 ConnectionFactory (on the server).
Instances of this class must be stateless or thread-safe, since the same instance will be registered for all sessions.
- 
Method Summary
 
- 
Method Details
- 
onOpen
Invoked when a session is opened.
- Parameters:
 session- the associated HTTP/2 session
 - 
onClose
Invoked when a session is closed.
- Parameters:
 session- the associated HTTP/2 session
 
 -