Class AbstractHTTP2ServerConnectionFactory

  • All Implemented Interfaces:
    org.eclipse.jetty.server.ConnectionFactory, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.LifeCycle
    Direct Known Subclasses:
    HTTP2ServerConnectionFactory, RawHTTP2ServerConnectionFactory

    @ManagedObject
    public abstract class AbstractHTTP2ServerConnectionFactory
    extends org.eclipse.jetty.server.AbstractConnectionFactory
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  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

        org.eclipse.jetty.server.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
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Detail

      • AbstractHTTP2ServerConnectionFactory

        public AbstractHTTP2ServerConnectionFactory​(@Name("config")
                                                    org.eclipse.jetty.server.HttpConfiguration httpConfiguration)
      • AbstractHTTP2ServerConnectionFactory

        protected AbstractHTTP2ServerConnectionFactory​(@Name("config")
                                                       org.eclipse.jetty.server.HttpConfiguration httpConfiguration,
                                                       @Name("protocols")
                                                       String... protocols)
    • Method Detail

      • getMaxDynamicTableSize

        @ManagedAttribute("The HPACK dynamic table maximum size")
        public int getMaxDynamicTableSize()
      • setMaxDynamicTableSize

        public void setMaxDynamicTableSize​(int maxDynamicTableSize)
      • getInitialSessionRecvWindow

        @ManagedAttribute("The initial size of session\'s flow control receive window")
        public int getInitialSessionRecvWindow()
      • setInitialSessionRecvWindow

        public void setInitialSessionRecvWindow​(int initialSessionRecvWindow)
      • getInitialStreamRecvWindow

        @ManagedAttribute("The initial size of stream\'s flow control receive window")
        public int getInitialStreamRecvWindow()
      • setInitialStreamRecvWindow

        public void setInitialStreamRecvWindow​(int initialStreamRecvWindow)
      • getMaxConcurrentStreams

        @ManagedAttribute("The max number of concurrent streams per session")
        public int getMaxConcurrentStreams()
      • setMaxConcurrentStreams

        public void setMaxConcurrentStreams​(int maxConcurrentStreams)
      • getMaxHeaderBlockFragment

        @ManagedAttribute("The max header block fragment")
        public int getMaxHeaderBlockFragment()
      • setMaxHeaderBlockFragment

        public void setMaxHeaderBlockFragment​(int maxHeaderBlockFragment)
      • getFlowControlStrategyFactory

        public org.eclipse.jetty.http2.FlowControlStrategy.Factory getFlowControlStrategyFactory()
      • setFlowControlStrategyFactory

        public void setFlowControlStrategyFactory​(org.eclipse.jetty.http2.FlowControlStrategy.Factory flowControlStrategyFactory)
      • getStreamIdleTimeout

        @ManagedAttribute("The stream idle timeout in milliseconds")
        public long getStreamIdleTimeout()
      • setStreamIdleTimeout

        public void setStreamIdleTimeout​(long streamIdleTimeout)
      • getMaxFrameLength

        @ManagedAttribute("The max frame length in bytes")
        public int getMaxFrameLength()
      • setMaxFrameLength

        public void setMaxFrameLength​(int maxFrameLength)
      • getMaxSettingsKeys

        @ManagedAttribute("The max number of keys in all SETTINGS frames")
        public int getMaxSettingsKeys()
      • setMaxSettingsKeys

        public void setMaxSettingsKeys​(int maxSettingsKeys)
      • getReservedThreads

        @Deprecated
        public int getReservedThreads()
        Deprecated.
        feature removed, no replacement
        Returns:
        -1
      • setReservedThreads

        @Deprecated
        public void setReservedThreads​(int threads)
        Deprecated.
        feature removed, no replacement
        Parameters:
        threads - ignored
        Throws:
        UnsupportedOperationException - when invoked
      • getHttpConfiguration

        public org.eclipse.jetty.server.HttpConfiguration getHttpConfiguration()
      • newConnection

        public org.eclipse.jetty.io.Connection newConnection​(org.eclipse.jetty.server.Connector connector,
                                                             org.eclipse.jetty.io.EndPoint endPoint)
      • newSessionListener

        protected abstract org.eclipse.jetty.http2.api.server.ServerSessionListener newSessionListener​(org.eclipse.jetty.server.Connector connector,
                                                                                                       org.eclipse.jetty.io.EndPoint endPoint)
      • newServerParser

        protected org.eclipse.jetty.http2.parser.ServerParser newServerParser​(org.eclipse.jetty.server.Connector connector,
                                                                              org.eclipse.jetty.http2.parser.ServerParser.Listener listener)