Class FlushOnReadHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
software.amazon.awssdk.http.nio.netty.internal.http2.FlushOnReadHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelOutboundHandler
@SdkInternalApi
@Sharable
public final class FlushOnReadHandler
extends io.netty.channel.ChannelOutboundHandlerAdapter
This is an HTTP/2 related workaround for an issue where a WINDOW_UPDATE is
 queued but not written to the socket, causing a read() on the channel to
 hang if the remote endpoint thinks our inbound window is 0.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.netty.channel.ChannelHandlerio.netty.channel.ChannelHandler.Sharable
- 
Method SummaryModifier and TypeMethodDescriptionstatic FlushOnReadHandlervoidread(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapterbind, close, connect, deregister, disconnect, flush, writeMethods inherited from class io.netty.channel.ChannelHandlerAdapterexceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandlerexceptionCaught, handlerAdded, handlerRemoved
- 
Method Details- 
readpublic void read(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
- readin interface- io.netty.channel.ChannelOutboundHandler
- Overrides:
- readin class- io.netty.channel.ChannelOutboundHandlerAdapter
 
- 
getInstance
 
-