public abstract class NegotiatingServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Detecting, ConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
NegotiatingServerConnectionFactory(String protocol,
String... negotiatedProtocols) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultProtocol() |
List<String> |
getNegotiatedProtocols() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
void |
setDefaultProtocol(String defaultProtocol) |
String |
toString() |
getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSizeaddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic String getDefaultProtocol()
public void setDefaultProtocol(String defaultProtocol)
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactoryCreates a new Connection with the given parameters
connector - The Connector creating this connectionendPoint - the EndPoint associated with the connectionConnectionpublic String toString()
toString in class AbstractConnectionFactoryCopyright © 2010 - 2020 Adobe. All Rights Reserved