Package org.eclipse.jetty.server
Class NetworkTrafficServerConnector
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.server.AbstractConnector
-
- org.eclipse.jetty.server.AbstractNetworkConnector
-
- org.eclipse.jetty.server.ServerConnector
-
- org.eclipse.jetty.server.NetworkTrafficServerConnector
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Connector
,NetworkConnector
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,Graceful
,LifeCycle
@Deprecated(since="2021-05-27") public class NetworkTrafficServerConnector extends ServerConnector
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A specialized version of
ServerConnector
that supportsNetworkTrafficListener
s.NetworkTrafficListener
s can be added and removed dynamically before and after this connector has been started without causingConcurrentModificationException
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
Graceful.Shutdown
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description NetworkTrafficServerConnector(Server server)
Deprecated.NetworkTrafficServerConnector(Server server, java.util.concurrent.Executor executor, Scheduler scheduler, ByteBufferPool pool, int acceptors, int selectors, ConnectionFactory... factories)
Deprecated.NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory)
Deprecated.NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory, SslContextFactory sslContextFactory)
Deprecated.NetworkTrafficServerConnector(Server server, SslContextFactory sslContextFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addNetworkTrafficListener(NetworkTrafficListener listener)
Deprecated.void
removeNetworkTrafficListener(NetworkTrafficListener listener)
Deprecated.-
Methods inherited from class org.eclipse.jetty.server.ServerConnector
accept, close, getAcceptedReceiveBufferSize, getAcceptedSendBufferSize, getAcceptedTcpNoDelay, getAcceptQueueSize, getLocalPort, getReuseAddress, getSelectorManager, getSoLingerTime, getTransport, isInheritChannel, isOpen, open, open, setAcceptedReceiveBufferSize, setAcceptedSendBufferSize, setAcceptedTcpNoDelay, setAccepting, setAcceptQueueSize, setInheritChannel, setReuseAddress, setSoLingerTime
-
Methods inherited from class org.eclipse.jetty.server.AbstractNetworkConnector
getHost, getPort, setHost, setPort, shutdown, toString
-
Methods inherited from class org.eclipse.jetty.server.AbstractConnector
addConnectionFactory, addFirstConnectionFactory, addIfAbsentConnectionFactory, clearConnectionFactories, getAcceptorPriorityDelta, getAcceptors, getByteBufferPool, getConnectedEndPoints, getConnectionFactories, getConnectionFactory, getConnectionFactory, getDefaultConnectionFactory, getDefaultProtocol, getExecutor, getHttpChannelListeners, getIdleTimeout, getName, getProtocols, getScheduler, getServer, isAccepting, isShutdown, join, join, removeConnectionFactory, setAcceptorPriorityDelta, setConnectionFactories, setDefaultProtocol, setIdleTimeout, setName
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.server.Connector
getByteBufferPool, getConnectedEndPoints, getConnectionFactories, getConnectionFactory, getConnectionFactory, getDefaultConnectionFactory, getExecutor, getIdleTimeout, getName, getProtocols, getScheduler, getServer
-
Methods inherited from interface org.eclipse.jetty.util.component.Container
addBean, addBean, addEventListener, getBean, getBeans, getBeans, getContainedBeans, isManaged, manage, removeBean, removeEventListener, unmanage
-
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Methods inherited from interface org.eclipse.jetty.util.component.Graceful
isShutdown
-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Constructor Detail
-
NetworkTrafficServerConnector
public NetworkTrafficServerConnector(Server server)
Deprecated.
-
NetworkTrafficServerConnector
public NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory, SslContextFactory sslContextFactory)
Deprecated.
-
NetworkTrafficServerConnector
public NetworkTrafficServerConnector(Server server, ConnectionFactory connectionFactory)
Deprecated.
-
NetworkTrafficServerConnector
public NetworkTrafficServerConnector(Server server, java.util.concurrent.Executor executor, Scheduler scheduler, ByteBufferPool pool, int acceptors, int selectors, ConnectionFactory... factories)
Deprecated.
-
NetworkTrafficServerConnector
public NetworkTrafficServerConnector(Server server, SslContextFactory sslContextFactory)
Deprecated.
-
-
Method Detail
-
addNetworkTrafficListener
public void addNetworkTrafficListener(NetworkTrafficListener listener)
Deprecated.- Parameters:
listener
- the listener to add
-
removeNetworkTrafficListener
public void removeNetworkTrafficListener(NetworkTrafficListener listener)
Deprecated.- Parameters:
listener
- the listener to remove
-
-