Class AbstractHTTP2ServerConnectionFactory

    • Constructor Detail

      • AbstractHTTP2ServerConnectionFactory

        public AbstractHTTP2ServerConnectionFactory​(@Name("config")
                                                    HttpConfiguration httpConfiguration)
      • AbstractHTTP2ServerConnectionFactory

        protected AbstractHTTP2ServerConnectionFactory​(@Name("config")
                                                       HttpConfiguration httpConfiguration,
                                                       @Name("protocols")
                                                       java.lang.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)
      • setFlowControlStrategyFactory

        public void setFlowControlStrategyFactory​(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:
        java.lang.UnsupportedOperationException - when invoked
      • newSettings

        protected java.util.Map<java.lang.Integer,​java.lang.Integer> newSettings()