Package org.eclipse.jetty.io
Interface Connection.Listener
- All Known Implementing Classes:
Connection.Listener.Adapter,ConnectionLimit,ConnectionStatistics,ConnectorStatistics,DebugHandler,IncludeExcludeConnectionStatistics,ServerConnectionStatistics,SocketCustomizationListener
- Enclosing interface:
Connection
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A Listener for connection events.
Listeners can be added to a Connection to get open and close events.
The AbstractConnectionFactory implements a pattern where objects implement
this interface that have been added via Container.addBean(Object) to
the Connector or ConnectionFactory are added as listeners to all new connections
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidonClosed(Connection connection) Deprecated.voidonOpened(Connection connection) Deprecated.
-
Method Details
-
onOpened
Deprecated. -
onClosed
Deprecated.
-