public abstract class NegotiatingServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
NegotiatingServerConnectionFactory(String protocol,
String... protocols) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultProtocol() |
List<String> |
getProtocols() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
protected abstract AbstractConnection |
newServerConnection(Connector connector,
EndPoint endPoint,
SSLEngine engine,
List<String> protocols,
String defaultProtocol) |
void |
setDefaultProtocol(String defaultProtocol) |
String |
toString() |
configure, getFactories, getInputBufferSize, getProtocol, setInputBufferSizeaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic 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 connectionConnectionprotected abstract AbstractConnection newServerConnection(Connector connector, EndPoint endPoint, SSLEngine engine, List<String> protocols, String defaultProtocol)
public String toString()
toString in class AbstractConnectionFactoryCopyright © 1995-2015 Webtide. All Rights Reserved.