Package org.eclipse.jetty.server
Class NegotiatingServerConnectionFactory
- java.lang.Object
- 
- org.eclipse.jetty.util.component.AbstractLifeCycle
- 
- org.eclipse.jetty.util.component.ContainerLifeCycle
- 
- org.eclipse.jetty.server.AbstractConnectionFactory
- 
- org.eclipse.jetty.server.NegotiatingServerConnectionFactory
 
 
 
 
- 
- All Implemented Interfaces:
- ConnectionFactory,- Container,- Destroyable,- Dumpable,- Dumpable.DumpableContainer,- LifeCycle
 - Direct Known Subclasses:
- ALPNServerConnectionFactory
 
 public abstract class NegotiatingServerConnectionFactory extends AbstractConnectionFactory 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleAbstractLifeCycle.AbstractLifeCycleListener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactoryConnectionFactory.Detecting, ConnectionFactory.Upgrading
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.ContainerContainer.InheritedListener, Container.Listener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.DumpableDumpable.DumpableContainer
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycleLifeCycle.Listener
 
- 
 - 
Constructor SummaryConstructors Constructor Description NegotiatingServerConnectionFactory(java.lang.String protocol, java.lang.String... negotiatedProtocols)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultProtocol()java.util.List<java.lang.String>getNegotiatedProtocols()ConnectionnewConnection(Connector connector, EndPoint endPoint)Creates a newConnectionwith the given parametersprotected abstract AbstractConnectionnewServerConnection(Connector connector, EndPoint endPoint, javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols, java.lang.String defaultProtocol)voidsetDefaultProtocol(java.lang.String defaultProtocol)java.lang.StringtoString()- 
Methods inherited from class org.eclipse.jetty.server.AbstractConnectionFactoryconfigure, findNextProtocol, findNextProtocol, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize
 - 
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycleaddBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
 - 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainerisDumpable
 
- 
 
- 
- 
- 
Method Detail- 
getDefaultProtocolpublic java.lang.String getDefaultProtocol() 
 - 
setDefaultProtocolpublic void setDefaultProtocol(java.lang.String defaultProtocol) 
 - 
getNegotiatedProtocolspublic java.util.List<java.lang.String> getNegotiatedProtocols() 
 - 
newConnectionpublic Connection newConnection(Connector connector, EndPoint endPoint) Description copied from interface:ConnectionFactoryCreates a new Connectionwith the given parameters- Parameters:
- connector- The- Connectorcreating this connection
- endPoint- the- EndPointassociated with the connection
- Returns:
- a new Connection
 
 - 
newServerConnectionprotected abstract AbstractConnection newServerConnection(Connector connector, EndPoint endPoint, javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols, java.lang.String defaultProtocol) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- AbstractConnectionFactory
 
 
- 
 
-