ConnectionFactoryHttpConnectionFactory, NegotiatingServerConnectionFactory, ProxyConnectionFactory, SslConnectionFactory@ManagedObject public abstract class AbstractConnectionFactory extends org.eclipse.jetty.util.component.ContainerLifeCycle implements ConnectionFactory
Provides the common handling for ConnectionFactory implementations including:
Connection.addListener(Connection.Listener) for all
Connection.Listener instances found as beans on the Connector
and this ConnectionFactoryorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Upgrading| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractConnectionFactory(java.lang.String protocol) |
|
protected |
AbstractConnectionFactory(java.lang.String... protocols) |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.eclipse.jetty.io.AbstractConnection |
configure(org.eclipse.jetty.io.AbstractConnection connection,
Connector connector,
org.eclipse.jetty.io.EndPoint endPoint) |
|
static ConnectionFactory[] |
getFactories(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory,
ConnectionFactory... factories) |
|
int |
getInputBufferSize() |
|
java.lang.String |
getProtocol() |
|
java.util.List<java.lang.String> |
getProtocols() |
|
void |
setInputBufferSize(int size) |
|
java.lang.String |
toString() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopnewConnectionaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansprotected AbstractConnectionFactory(java.lang.String protocol)
protected AbstractConnectionFactory(java.lang.String... protocols)
@ManagedAttribute(value="The protocol name",
readonly=true)
public java.lang.String getProtocol()
getProtocol in interface ConnectionFactorypublic java.util.List<java.lang.String> getProtocols()
getProtocols in interface ConnectionFactory@ManagedAttribute("The buffer size used to read from the network")
public int getInputBufferSize()
public void setInputBufferSize(int size)
protected org.eclipse.jetty.io.AbstractConnection configure(org.eclipse.jetty.io.AbstractConnection connection,
Connector connector,
org.eclipse.jetty.io.EndPoint endPoint)
public java.lang.String toString()
toString in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic static ConnectionFactory[] getFactories(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, ConnectionFactory... factories)
Copyright © 1995–2018 Webtide. All rights reserved.