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)
      • isConnectProtocolEnabled

        @ManagedAttribute("Whether CONNECT requests supports a protocol")
        public boolean isConnectProtocolEnabled()
      • setConnectProtocolEnabled

        public void setConnectProtocolEnabled​(boolean connectProtocolEnabled)
      • getRateControlFactory

        public RateControl.Factory getRateControlFactory()
        Returns:
        the factory that creates RateControl objects
      • setRateControlFactory

        public void setRateControlFactory​(RateControl.Factory rateControlFactory)

        Sets the factory that creates a per-connection RateControl object.

        Parameters:
        rateControlFactory - the factory that creates RateControl objects
      • isUseInputDirectByteBuffers

        @ManagedAttribute("Whether to use direct ByteBuffers for reading")
        public boolean isUseInputDirectByteBuffers()
      • setUseInputDirectByteBuffers

        public void setUseInputDirectByteBuffers​(boolean useInputDirectByteBuffers)
      • isUseOutputDirectByteBuffers

        @ManagedAttribute("Whether to use direct ByteBuffers for writing")
        public boolean isUseOutputDirectByteBuffers()
      • setUseOutputDirectByteBuffers

        public void setUseOutputDirectByteBuffers​(boolean useOutputDirectByteBuffers)
      • newSettings

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