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
(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 void
onClosed(Connection connection)
Deprecated.void
onOpened(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:
onOpened
in interfaceConnection.Listener
-
onClosed
public void onClosed(Connection connection)
Deprecated.- Specified by:
onClosed
in interfaceConnection.Listener
-
-