public abstract class NegotiatingServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.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, setInputBufferSize
addBean, 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, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public String getDefaultProtocol()
public void setDefaultProtocol(String defaultProtocol)
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
protected abstract AbstractConnection newServerConnection(Connector connector, EndPoint endPoint, SSLEngine engine, List<String> protocols, String defaultProtocol)
public String toString()
toString
in class AbstractConnectionFactory
Copyright © 1995-2015 Webtide. All Rights Reserved.