Package org.eclipse.jetty.http2.server
Class HTTP2ServerConnectionFactory
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.server.AbstractConnectionFactory
-
- org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory
-
- org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory
-
- All Implemented Interfaces:
ConnectionFactory,NegotiatingServerConnection.CipherDiscriminator,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
- Direct Known Subclasses:
HTTP2CServerConnectionFactory
public class HTTP2ServerConnectionFactory extends AbstractHTTP2ServerConnectionFactory implements NegotiatingServerConnection.CipherDiscriminator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classHTTP2ServerConnectionFactory.HTTPServerSessionListener-
Nested classes/interfaces inherited from class org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory
AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory
ConnectionFactory.Detecting, ConnectionFactory.Upgrading
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
-
-
Constructor Summary
Constructors Constructor Description HTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration)HTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, java.lang.String... protocols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAcceptable(java.lang.String protocol, java.lang.String tlsProtocol, java.lang.String tlsCipher)protected ServerSessionListenernewSessionListener(Connector connector, org.eclipse.jetty.io.EndPoint endPoint)-
Methods inherited from class org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory
getFlowControlStrategyFactory, getHttpConfiguration, getInitialSessionRecvWindow, getInitialStreamRecvWindow, getMaxConcurrentStreams, getMaxDecoderTableCapacity, getMaxDynamicTableSize, getMaxEncoderTableCapacity, getMaxFrameLength, getMaxFrameSize, getMaxHeaderBlockFragment, getMaxSettingsKeys, getRateControl, getRateControlFactory, getReservedThreads, getStreamIdleTimeout, newConnection, newServerParser, newServerParser, newSettings, setFlowControlStrategyFactory, setInitialSessionRecvWindow, setInitialStreamRecvWindow, setMaxConcurrentStreams, setMaxDecoderTableCapacity, setMaxDynamicTableSize, setMaxEncoderTableCapacity, setMaxFrameLength, setMaxFrameSize, setMaxHeaderBlockFragment, setMaxSettingsKeys, setRateControl, setRateControlFactory, setReservedThreads, setStreamIdleTimeout
-
Methods inherited from class org.eclipse.jetty.server.AbstractConnectionFactory
configure, findNextProtocol, findNextProtocol, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toString
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, 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.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Constructor Detail
-
HTTP2ServerConnectionFactory
public HTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration)
-
HTTP2ServerConnectionFactory
public HTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration, @Name("protocols") java.lang.String... protocols)
-
-
Method Detail
-
newSessionListener
protected ServerSessionListener newSessionListener(Connector connector, org.eclipse.jetty.io.EndPoint endPoint)
- Specified by:
newSessionListenerin classAbstractHTTP2ServerConnectionFactory
-
isAcceptable
public boolean isAcceptable(java.lang.String protocol, java.lang.String tlsProtocol, java.lang.String tlsCipher)- Specified by:
isAcceptablein interfaceNegotiatingServerConnection.CipherDiscriminator
-
-