Class EspressoHttp2FrameCodecBuilder


  • public class EspressoHttp2FrameCodecBuilder
    extends io.netty.handler.codec.http2.Http2FrameCodecBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.function.Predicate<io.netty.channel.Channel> CAN_ALWAYS_CREATE_STREAMS  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected io.netty.handler.codec.http2.Http2FrameCodec build​(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings)  
      EspressoHttp2FrameCodecBuilder canCreateStreams​(java.util.function.Predicate<io.netty.channel.Channel> canCreateStreams)  
      static EspressoHttp2FrameCodecBuilder forClient()
      Creates a builder for an HTTP/2 client.
      static EspressoHttp2FrameCodecBuilder forServer()
      Creates a builder for a HTTP/2 server.
      • Methods inherited from class io.netty.handler.codec.http2.Http2FrameCodecBuilder

        autoAckPingFrame, autoAckSettingsFrame, build, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxConsecutiveEmptyDataFrames, decoupleCloseAndGoAway, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxQueuedControlFrames, encoderEnforceMaxQueuedControlFrames, encoderIgnoreMaxHeaderListSize, frameLogger, frameLogger, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, headerSensitivityDetector, headerSensitivityDetector, initialHuffmanDecodeCapacity, initialSettings, initialSettings, isServer, isValidateHeaders, maxReservedStreams, maxReservedStreams, validateHeaders
      • Methods inherited from class io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder

        codec, connection, connection, decoder, decoupleCloseAndGoAway, encoder, frameListener, frameListener, isAutoAckPingFrame, isAutoAckSettingsFrame, promisedRequestVerifier, promisedRequestVerifier, self, server
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CAN_ALWAYS_CREATE_STREAMS

        public static final java.util.function.Predicate<io.netty.channel.Channel> CAN_ALWAYS_CREATE_STREAMS
    • Method Detail

      • canCreateStreams

        public EspressoHttp2FrameCodecBuilder canCreateStreams​(java.util.function.Predicate<io.netty.channel.Channel> canCreateStreams)
      • build

        protected io.netty.handler.codec.http2.Http2FrameCodec build​(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder,
                                                                     io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
                                                                     io.netty.handler.codec.http2.Http2Settings initialSettings)
        Overrides:
        build in class io.netty.handler.codec.http2.Http2FrameCodecBuilder