Class NetworkTrafficServerConnector

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
All Implemented Interfaces:
Closeable, AutoCloseable, Connector, NetworkConnector, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.Graceful, org.eclipse.jetty.util.component.LifeCycle
Direct Known Subclasses:
NetworkTrafficSelectChannelConnector

public class NetworkTrafficServerConnector extends ServerConnector

A specialized version of ServerConnector that supports NetworkTrafficListeners.

NetworkTrafficListeners can be added and removed dynamically before and after this connector has been started without causing ConcurrentModificationExceptions.

  • Constructor Details

    • NetworkTrafficServerConnector

      public NetworkTrafficServerConnector(Server server)
    • NetworkTrafficServerConnector

      public NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory)
    • NetworkTrafficServerConnector

      public NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory)
    • NetworkTrafficServerConnector

      public NetworkTrafficServerConnector(Server server, Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, ByteBufferPool pool, int acceptors, int selectors, ConnectionFactory... factories)
    • NetworkTrafficServerConnector

      public NetworkTrafficServerConnector(Server server, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory)
  • Method Details