Package org.eclipse.jetty.server
Class SocketCustomizationListener
- java.lang.Object
-
- org.eclipse.jetty.server.SocketCustomizationListener
-
- All Implemented Interfaces:
Connection.Listener
@Deprecated public class SocketCustomizationListener extends java.lang.Object implements Connection.Listener
Deprecated.This api is not supported anymore. Please do not use it.A Connection Lister for customization of SocketConnections.Instances of this listener may be added to a
Connector(orConnectionFactory) so that they are applied to all connections for that connector (or protocol) and thus allow additional Socket configuration to be applied by implementingcustomize(Socket, Class, boolean)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection.Listener
Connection.Listener.Adapter
-
-
Constructor Summary
Constructors Constructor Description SocketCustomizationListener()Deprecated.Construct with SSL unwrapping on.SocketCustomizationListener(boolean ssl)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidonClosed(Connection connection)Deprecated.voidonOpened(Connection connection)Deprecated.
-
-
-
Constructor Detail
-
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 Detail
-
onOpened
public void onOpened(Connection connection)
Deprecated.- Specified by:
onOpenedin interfaceConnection.Listener
-
onClosed
public void onClosed(Connection connection)
Deprecated.- Specified by:
onClosedin interfaceConnection.Listener
-
-