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, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Direct Known Subclasses:
HTTP2CServerConnectionFactory
public class HTTP2ServerConnectionFactory
extends AbstractHTTP2ServerConnectionFactory
implements NegotiatingServerConnection.CipherDiscriminator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classNested classes/interfaces inherited from class AbstractHTTP2ServerConnectionFactory
AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainerNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface ConnectionFactory
ConnectionFactory.Configuring, ConnectionFactory.Detecting, ConnectionFactory.UpgradingNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration) HTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, String... protocols) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAcceptable(String protocol, String tlsProtocol, String tlsCipher) protected ServerSessionListenernewSessionListener(Connector connector, EndPoint endPoint) Methods inherited from class AbstractHTTP2ServerConnectionFactory
getFlowControlStrategyFactory, getHttpConfiguration, getInitialSessionRecvWindow, getInitialStreamRecvWindow, getMaxConcurrentStreams, getMaxDecoderTableCapacity, getMaxEncoderTableCapacity, getMaxFrameSize, getMaxHeaderBlockFragment, getMaxSettingsKeys, getRateControlFactory, getStreamIdleTimeout, isConnectProtocolEnabled, isUseInputDirectByteBuffers, isUseOutputDirectByteBuffers, newConnection, newSettings, setConnectProtocolEnabled, setFlowControlStrategyFactory, setInitialSessionRecvWindow, setInitialStreamRecvWindow, setMaxConcurrentStreams, setMaxDecoderTableCapacity, setMaxEncoderTableCapacity, setMaxFrameSize, setMaxHeaderBlockFragment, setMaxSettingsKeys, setRateControlFactory, setStreamIdleTimeout, setUseInputDirectByteBuffers, setUseOutputDirectByteBuffersMethods inherited from class AbstractConnectionFactory
configure, findNextProtocol, findNextProtocol, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
getCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
HTTP2ServerConnectionFactory
public HTTP2ServerConnectionFactory() -
HTTP2ServerConnectionFactory
-
HTTP2ServerConnectionFactory
public HTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration, @Name("protocols") String... protocols)
-
-
Method Details
-
newSessionListener
- Specified by:
newSessionListenerin classAbstractHTTP2ServerConnectionFactory
-
isAcceptable
- Specified by:
isAcceptablein interfaceNegotiatingServerConnection.CipherDiscriminator
-