Package org.eclipse.jetty.server
Class AbstractConnectionFactory
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.AbstractConnectionFactory
- All Implemented Interfaces:
ConnectionFactory,Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle
- Direct Known Subclasses:
DetectorConnectionFactory,HttpConnectionFactory,NegotiatingServerConnectionFactory,SslConnectionFactory
@ManagedObject
@Deprecated(since="2021-05-27")
public abstract class AbstractConnectionFactory
extends ContainerLifeCycle
implements ConnectionFactory
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Provides the common handling for ConnectionFactory implementations including:
- Protocol identification
- Configuration of new Connections:
- Setting inputbuffer size
- Calling
Connection.addListener(Connection.Listener)for all Connection.Listener instances found as beans on theConnectorand thisConnectionFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory
ConnectionFactory.Detecting, ConnectionFactory.UpgradingNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionFactory[]getFactories(SslContextFactory sslContextFactory, ConnectionFactory... factories) Deprecated.intDeprecated.Deprecated.Deprecated.voidsetInputBufferSize(int size) Deprecated.toString()Deprecated.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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.server.ConnectionFactory
newConnectionMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Method Details
-
getProtocol
Deprecated.- Specified by:
getProtocolin interfaceConnectionFactory- Returns:
- A string representing the primary protocol name.
-
getProtocols
Deprecated.- Specified by:
getProtocolsin interfaceConnectionFactory- Returns:
- A list of alternative protocol names/versions including the primary protocol.
-
getInputBufferSize
Deprecated. -
setInputBufferSize
public void setInputBufferSize(int size) Deprecated. -
toString
Deprecated.- Overrides:
toStringin classAbstractLifeCycle
-
getFactories
public static ConnectionFactory[] getFactories(SslContextFactory sslContextFactory, ConnectionFactory... factories) Deprecated.
-