Package io.grpc.netty

Class NettyServerHandler.WriteMonitoringFrameWriter

java.lang.Object
io.netty.handler.codec.http2.DecoratingHttp2FrameWriter
io.grpc.netty.NettyServerHandler.WriteMonitoringFrameWriter
All Implemented Interfaces:
io.netty.handler.codec.http2.Http2DataWriter, io.netty.handler.codec.http2.Http2FrameWriter, Closeable, AutoCloseable
Enclosing class:
NettyServerHandler

private static class NettyServerHandler.WriteMonitoringFrameWriter extends io.netty.handler.codec.http2.DecoratingHttp2FrameWriter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.handler.codec.http2.Http2FrameWriter

    io.netty.handler.codec.http2.Http2FrameWriter.Configuration
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final KeepAliveEnforcer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WriteMonitoringFrameWriter(io.netty.handler.codec.http2.Http2FrameWriter delegate, KeepAliveEnforcer keepAliveEnforcer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.ChannelFuture
    writeData(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
     
    io.netty.channel.ChannelFuture
    writeHeaders(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
     
    io.netty.channel.ChannelFuture
    writeHeaders(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
     

    Methods inherited from class io.netty.handler.codec.http2.DecoratingHttp2FrameWriter

    close, configuration, writeFrame, writeGoAway, writePing, writePriority, writePushPromise, writeRstStream, writeSettings, writeSettingsAck, writeWindowUpdate

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • WriteMonitoringFrameWriter

      public WriteMonitoringFrameWriter(io.netty.handler.codec.http2.Http2FrameWriter delegate, KeepAliveEnforcer keepAliveEnforcer)
  • Method Details

    • writeData

      public io.netty.channel.ChannelFuture writeData(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
      Specified by:
      writeData in interface io.netty.handler.codec.http2.Http2DataWriter
      Overrides:
      writeData in class io.netty.handler.codec.http2.DecoratingHttp2FrameWriter
    • writeHeaders

      public io.netty.channel.ChannelFuture writeHeaders(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
      Specified by:
      writeHeaders in interface io.netty.handler.codec.http2.Http2FrameWriter
      Overrides:
      writeHeaders in class io.netty.handler.codec.http2.DecoratingHttp2FrameWriter
    • writeHeaders

      public io.netty.channel.ChannelFuture writeHeaders(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, io.netty.channel.ChannelPromise promise)
      Specified by:
      writeHeaders in interface io.netty.handler.codec.http2.Http2FrameWriter
      Overrides:
      writeHeaders in class io.netty.handler.codec.http2.DecoratingHttp2FrameWriter