Package org.eclipse.jetty.server
Class SocketCustomizationListener
java.lang.Object
org.eclipse.jetty.server.SocketCustomizationListener
- All Implemented Interfaces:
Connection.Listener
@Deprecated(since="2021-05-27")
public class SocketCustomizationListener
extends Object
implements Connection.Listener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A Connection Lister for customization of SocketConnections.
Instances of this listener may be added to a Connector (or
ConnectionFactory) so that they are applied to all connections
for that connector (or protocol) and thus allow additional Socket
configuration to be applied by implementing customize(Socket, Class, boolean)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection.Listener
Connection.Listener.Adapter -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Construct with SSL unwrapping on.SocketCustomizationListener(boolean ssl) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidonClosed(Connection connection) Deprecated.voidonOpened(Connection connection) Deprecated.
-
Constructor Details
-
SocketCustomizationListener
public SocketCustomizationListener()Deprecated.Construct with SSL unwrapping on. -
SocketCustomizationListener
public SocketCustomizationListener(boolean ssl) Deprecated.- Parameters:
ssl- If True, then a Socket underlying an SSLConnection is unwrapped and notified.
-
-
Method Details
-
onOpened
Deprecated.- Specified by:
onOpenedin interfaceConnection.Listener
-
onClosed
Deprecated.- Specified by:
onClosedin interfaceConnection.Listener
-