Top Constructors Methods
reactor.netty.http.server

pack-priv final Class IdleTimeoutHandler

extends IdleStateHandler
Class Inheritance
Imports
io.netty.channel.ChannelHandler, .ChannelHandlerContext, .ChannelPipeline, io.netty.handler.codec.http.HttpServerCodec, .HttpServerUpgradeHandler, io.netty.handler.timeout.IdleState, .IdleStateEvent, .IdleStateHandler, reactor.netty.NettyPipeline, reactor.util.annotation.Nullable, java.time.Duration, java.util.concurrent.TimeUnit

Constructor Summary

AccessConstructor and Description
pack-priv
IdleTimeoutHandler(long idleTimeout)

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
protected void
pack-priv static void
Inherited from io.netty.handler.timeout.IdleStateHandler:
channelActivechannelInactivechannelReadchannelReadCompletechannelRegisteredgetAllIdleTimeInMillisgetReaderIdleTimeInMillisgetWriterIdleTimeInMillishandlerAddedhandlerRemovednewIdleStateEventresetReadTimeoutresetWriteTimeoutwrite

Constructor Detail

IdleTimeoutHandlerback to summary
pack-priv IdleTimeoutHandler(long idleTimeout)

Method Detail

addIdleTimeoutHandlerback to summary
pack-priv static void addIdleTimeoutHandler(ChannelPipeline pipeline, Duration idleTimeout)
channelIdleback to summary
protected void channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt)

Overrides io.netty.handler.timeout.IdleStateHandler.channelIdle.

Doc from io.netty.handler.timeout.IdleStateHandler.channelIdle.

Is called when an IdleStateEvent should be fired. This implementation calls ChannelHandlerContext#fireUserEventTriggered(Object).

Annotations
@Override
@SuppressWarnings:FutureReturnValueIgnored
removeIdleTimeoutHandlerback to summary
pack-priv static void removeIdleTimeoutHandler(ChannelPipeline pipeline)