Class EspressoHttp2FrameCodecBuilder

java.lang.Object
io.netty.handler.codec.http2.AbstractHttp2ConnectionHandlerBuilder<io.netty.handler.codec.http2.Http2FrameCodec,io.netty.handler.codec.http2.Http2FrameCodecBuilder>
io.netty.handler.codec.http2.Http2FrameCodecBuilder
io.netty.handler.codec.http2.EspressoHttp2FrameCodecBuilder

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

    Fields
    Modifier and Type
    Field
    Description
    static final Predicate<io.netty.channel.Channel>
     
  • Method Summary

    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)
     
    canCreateStreams(Predicate<io.netty.channel.Channel> canCreateStreams)
     
    Creates a builder for an HTTP/2 client.
    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 Details

    • CAN_ALWAYS_CREATE_STREAMS

      public static final Predicate<io.netty.channel.Channel> CAN_ALWAYS_CREATE_STREAMS
  • Method Details

    • canCreateStreams

      public EspressoHttp2FrameCodecBuilder canCreateStreams(Predicate<io.netty.channel.Channel> canCreateStreams)
    • forServer

      public static EspressoHttp2FrameCodecBuilder forServer()
      Creates a builder for a HTTP/2 server.
    • forClient

      public static EspressoHttp2FrameCodecBuilder forClient()
      Creates a builder for an HTTP/2 client.
      Returns:
      Builder for client
    • 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