Uses of Interface
io.netty5.channel.ChannelHandlerContext
-
Packages that use ChannelHandlerContext Package Description io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.internal Internal utilities for channel implementations.io.netty5.handler.address Package to dynamically replace local / remoteSocketAddress.io.netty5.handler.codec Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.io.netty5.handler.codec.base64 io.netty5.handler.codec.bytes Encoder and decoder which transform an array of bytes into aio.netty5.buffer.ByteBufand vice versa.io.netty5.handler.codec.compression io.netty5.handler.codec.dns DNS codec.io.netty5.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty5.handler.codec.http.cors This package contains Cross Origin Resource Sharing (CORS) related classes.io.netty5.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty5.handler.codec.http.websocketx.extensions Encoder, decoder, handshakers to handle WebSocket Extensions.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty5.handler.codec.rtsp An RTSP extension based on the HTTP codec.io.netty5.handler.codec.string Encoder and decoder which transform aStringinto aio.netty5.buffer.ByteBufand vice versa.io.netty5.handler.flow Package to control the flow of messages.io.netty5.handler.flush Package to control flush behavior.io.netty5.handler.ipfilter Package to filter IP addresses (allow/deny).io.netty5.handler.logging Logs the I/O events for debugging purpose.io.netty5.handler.ssl io.netty5.handler.ssl.ocsp OCSP stapling, formally known as the TLS Certificate Status Request extension, is an alternative approach to the Online Certificate Status Protocol (OCSP) for checking the revocation status of X.509 digital certificates.io.netty5.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError.io.netty5.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer.io.netty5.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics. -
-
Uses of ChannelHandlerContext in io.netty5.channel
Methods in io.netty5.channel that return ChannelHandlerContext Modifier and Type Method Description ChannelHandlerContextChannelPipeline. context(ChannelHandler handler)Returns the context object of the specifiedChannelHandlerin this pipeline.ChannelHandlerContextChannelPipeline. context(Class<? extends ChannelHandler> handlerType)Returns the context object of theChannelHandlerof the specified type in this pipeline.ChannelHandlerContextChannelPipeline. context(String name)Returns the context object of theChannelHandlerwith the specified name in this pipeline.ChannelHandlerContextDefaultChannelPipeline. context(ChannelHandler handler)ChannelHandlerContextDefaultChannelPipeline. context(Class<? extends ChannelHandler> handlerType)ChannelHandlerContextDefaultChannelPipeline. context(String name)ChannelHandlerContextChannelHandlerContext. fireChannelActive()ChannelHandlerContextChannelHandlerContext. fireChannelExceptionCaught(Throwable cause)ChannelHandlerContextChannelHandlerContext. fireChannelInactive()ChannelHandlerContextChannelHandlerContext. fireChannelInboundEvent(Object evt)ChannelHandlerContextChannelHandlerContext. fireChannelRead(Object msg)ChannelHandlerContextChannelHandlerContext. fireChannelReadComplete()ChannelHandlerContextChannelHandlerContext. fireChannelRegistered()ChannelHandlerContextChannelHandlerContext. fireChannelShutdown(ChannelShutdownDirection direction)ChannelHandlerContextChannelHandlerContext. fireChannelUnregistered()ChannelHandlerContextChannelHandlerContext. fireChannelWritabilityChanged()ChannelHandlerContextChannelPipeline. firstContext()Returns the context of the firstChannelHandlerin this pipeline.ChannelHandlerContextDefaultChannelPipeline. firstContext()ChannelHandlerContextChannelHandlerContext. flush()ChannelHandlerContextChannelPipeline. lastContext()Returns the context of the lastChannelHandlerin this pipeline.ChannelHandlerContextDefaultChannelPipeline. lastContext()ChannelHandlerContextChannelHandlerContext. read()Methods in io.netty5.channel with parameters of type ChannelHandlerContext Modifier and Type Method Description default Future<Void>ChannelHandler. bind(ChannelHandlerContext ctx, SocketAddress localAddress)Called once a bind operation is made.Future<Void>CombinedChannelDuplexHandler. bind(ChannelHandlerContext ctx, SocketAddress localAddress)default voidChannelHandler. channelActive(ChannelHandlerContext ctx)TheChannelof theChannelHandlerContextis now activevoidCombinedChannelDuplexHandler. channelActive(ChannelHandlerContext ctx)default voidChannelHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)Gets called if aThrowablewas thrown when handling inbound events.voidChannelInitializer. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidCombinedChannelDuplexHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)default voidChannelHandler. channelInactive(ChannelHandlerContext ctx)TheChannelof theChannelHandlerContextwas registered is now inactive and reached its end of lifetime.voidCombinedChannelDuplexHandler. channelInactive(ChannelHandlerContext ctx)default voidChannelHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)Gets called if a custom inbound event happened.voidCombinedChannelDuplexHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidSimpleUserEventChannelHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)default voidChannelHandler. channelRead(ChannelHandlerContext ctx, Object msg)Invoked when the currentChannelhas read a message from the peer.voidCombinedChannelDuplexHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidSimpleChannelInboundHandler. channelRead(ChannelHandlerContext ctx, Object msg)default voidChannelHandler. channelReadComplete(ChannelHandlerContext ctx)Invoked when the last message read by the current read operation has been consumed byChannelHandler.channelRead(ChannelHandlerContext, Object).voidCombinedChannelDuplexHandler. channelReadComplete(ChannelHandlerContext ctx)default voidChannelHandler. channelRegistered(ChannelHandlerContext ctx)voidCombinedChannelDuplexHandler. channelRegistered(ChannelHandlerContext ctx)default voidChannelHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)TheChannelof theChannelHandlerContextwas shutdown in one direction.voidCombinedChannelDuplexHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)default voidChannelHandler. channelUnregistered(ChannelHandlerContext ctx)voidCombinedChannelDuplexHandler. channelUnregistered(ChannelHandlerContext ctx)default voidChannelHandler. channelWritabilityChanged(ChannelHandlerContext ctx)Gets called once the writable state of aChannelchanged.voidCombinedChannelDuplexHandler. channelWritabilityChanged(ChannelHandlerContext ctx)default Future<Void>ChannelHandler. close(ChannelHandlerContext ctx)Called once a close operation is made.Future<Void>CombinedChannelDuplexHandler. close(ChannelHandlerContext ctx)default Future<Void>ChannelHandler. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)Called once a connect operation is made.Future<Void>CombinedChannelDuplexHandler. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)default Future<Void>ChannelHandler. deregister(ChannelHandlerContext ctx)Called once a deregister operation is made from the current registeredEventLoop.Future<Void>CombinedChannelDuplexHandler. deregister(ChannelHandlerContext ctx)default Future<Void>ChannelHandler. disconnect(ChannelHandlerContext ctx)Called once a disconnect operation is made.Future<Void>CombinedChannelDuplexHandler. disconnect(ChannelHandlerContext ctx)protected abstract voidSimpleUserEventChannelHandler. eventReceived(ChannelHandlerContext ctx, I evt)Is called for each user event triggered of typeSimpleUserEventChannelHandler.default voidChannelHandler. flush(ChannelHandlerContext ctx)Called once a flush operation is made.voidCombinedChannelDuplexHandler. flush(ChannelHandlerContext ctx)default voidChannelHandler. handlerAdded(ChannelHandlerContext ctx)Gets called after theChannelHandlerwas added to the actual context and it's ready to handle events.voidChannelInitializer. handlerAdded(ChannelHandlerContext ctx)Gets called after theChannelHandlerwas added to the actual context and it's ready to handle events.voidCombinedChannelDuplexHandler. handlerAdded(ChannelHandlerContext ctx)default voidChannelHandler. handlerRemoved(ChannelHandlerContext ctx)Gets called after theChannelHandlerwas removed from the actual context and it doesn't handle events anymore.voidCombinedChannelDuplexHandler. handlerRemoved(ChannelHandlerContext ctx)protected abstract voidSimpleChannelInboundHandler. messageReceived(ChannelHandlerContext ctx, I msg)Is called for each message of typeSimpleChannelInboundHandler.protected voidDefaultChannelPipeline. onUnhandledInboundMessage(ChannelHandlerContext ctx, Object msg)Called once a message hit the end of theChannelPipelinewithout been handled by the user inChannelHandler.channelRead(ChannelHandlerContext, Object).default longChannelHandler. pendingOutboundBytes(ChannelHandlerContext ctx)The number of the outbound bytes that are buffered / queued in thisChannelHandler.longCombinedChannelDuplexHandler. pendingOutboundBytes(ChannelHandlerContext ctx)default voidChannelHandler. read(ChannelHandlerContext ctx)Interceptsread().voidCombinedChannelDuplexHandler. read(ChannelHandlerContext ctx)default Future<Void>ChannelHandler. register(ChannelHandlerContext ctx)Called once a register operation is made to register for IO on theEventLoop.Future<Void>CombinedChannelDuplexHandler. register(ChannelHandlerContext ctx)default Future<Void>ChannelHandler. sendOutboundEvent(ChannelHandlerContext ctx, Object event)Called once a custom defined outbound event was sent.Future<Void>CombinedChannelDuplexHandler. sendOutboundEvent(ChannelHandlerContext ctx, Object event)default Future<Void>ChannelHandler. shutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)Called once a shutdown operation was requested and should be executed.Future<Void>CombinedChannelDuplexHandler. shutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)default Future<Void>ChannelHandler. write(ChannelHandlerContext ctx, Object msg)Called once a write operation is made.Future<Void>CombinedChannelDuplexHandler. write(ChannelHandlerContext ctx, Object msg)voidAbstractCoalescingBufferQueue. writeAndRemoveAll(ChannelHandlerContext ctx)Writes all remaining elements in this queue. -
Uses of ChannelHandlerContext in io.netty5.channel.internal
Classes in io.netty5.channel.internal that implement ChannelHandlerContext Modifier and Type Class Description classDelegatingChannelHandlerContextConstructors in io.netty5.channel.internal with parameters of type ChannelHandlerContext Constructor Description DelegatingChannelHandlerContext(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in io.netty5.handler.address
Methods in io.netty5.handler.address with parameters of type ChannelHandlerContext Modifier and Type Method Description Future<Void>DynamicAddressConnectHandler. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)Future<Void>ResolveAddressHandler. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress) -
Uses of ChannelHandlerContext in io.netty5.handler.codec
Methods in io.netty5.handler.codec that return ChannelHandlerContext Modifier and Type Method Description protected ChannelHandlerContextMessageAggregator. ctx()Methods in io.netty5.handler.codec with parameters of type ChannelHandlerContext Modifier and Type Method Description protected abstract BufferMessageToByteEncoder. allocateBuffer(ChannelHandlerContext ctx, I msg)Allocate aBufferwhich will be used as argument of#encode(ChannelHandlerContext, I, Buffer).Future<Void>DatagramPacketEncoder. bind(ChannelHandlerContext ctx, SocketAddress localAddress)voidDatagramPacketDecoder. channelActive(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidByteToMessageCodec. channelInactive(ChannelHandlerContext ctx)voidByteToMessageDecoder. channelInactive(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelInactive(ChannelHandlerContext ctx)voidMessageAggregator. channelInactive(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidByteToMessageCodec. channelRead(ChannelHandlerContext ctx, Object msg)voidByteToMessageDecoder. channelRead(ChannelHandlerContext ctx, Object msg)voidMessageToMessageCodec. channelRead(ChannelHandlerContext ctx, Object msg)voidMessageToMessageDecoder. channelRead(ChannelHandlerContext ctx, Object msg)voidByteToMessageCodec. channelReadComplete(ChannelHandlerContext ctx)voidByteToMessageDecoder. channelReadComplete(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelReadComplete(ChannelHandlerContext ctx)voidMessageAggregator. channelReadComplete(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelRegistered(ChannelHandlerContext ctx)voidByteToMessageDecoder. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)voidDatagramPacketDecoder. channelUnregistered(ChannelHandlerContext ctx)voidDatagramPacketDecoder. channelWritabilityChanged(ChannelHandlerContext ctx)Future<Void>DatagramPacketEncoder. close(ChannelHandlerContext ctx)Future<Void>DatagramPacketEncoder. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)protected abstract voidByteToMessageCodec. decode(ChannelHandlerContext ctx, Buffer in)protected abstract voidByteToMessageDecoder. decode(ChannelHandlerContext ctx, Buffer in)Decode the from oneBufferto another.protected voidDatagramPacketDecoder. decode(ChannelHandlerContext ctx, DatagramPacket msg)protected voidDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)protected voidFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)protected voidLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)protected voidLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)protected voidMessageAggregator. decode(ChannelHandlerContext ctx, I msg)protected voidMessageToMessageCodec. decode(ChannelHandlerContext ctx, INBOUND_IN msg)protected voidMessageToMessageDecoder. decode(ChannelHandlerContext ctx, I msg)Decode from one message to another.protected ObjectDelimiterBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)Create a frame out of theBufferand return it.protected ObjectFixedLengthFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer in)Create a frame out of theBufferand return it.protected ObjectLengthFieldBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)Create a frame out of theBufferand return it.protected ObjectLineBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)Create a frame out of theBufferand return it.protected voidMessageToMessageCodec. decodeAndClose(ChannelHandlerContext ctx, INBOUND_IN msg)protected voidMessageToMessageDecoder. decodeAndClose(ChannelHandlerContext ctx, I msg)Decode from one message to another.protected voidByteToMessageCodec. decodeLast(ChannelHandlerContext ctx, Buffer in)protected voidByteToMessageDecoder. decodeLast(ChannelHandlerContext ctx, Buffer in)Is called one last time when theChannelHandlerContextgoes in-active.Future<Void>DatagramPacketEncoder. deregister(ChannelHandlerContext ctx)Future<Void>DatagramPacketEncoder. disconnect(ChannelHandlerContext ctx)protected abstract voidByteToMessageCodec. encode(ChannelHandlerContext ctx, I msg, Buffer out)protected voidDatagramPacketEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<M,InetSocketAddress> msg, List<Object> out)protected voidLengthFieldPrepender. encode(ChannelHandlerContext ctx, Buffer buffer, List<Object> out)protected abstract voidMessageToByteEncoder. encode(ChannelHandlerContext ctx, I msg, Buffer out)Encode a message into aBuffer.protected voidMessageToMessageCodec. encode(ChannelHandlerContext ctx, OUTBOUND_IN msg, List<Object> out)protected voidMessageToMessageEncoder. encode(ChannelHandlerContext ctx, I msg, List<Object> out)Encode from one message to another.protected voidMessageToMessageCodec. encodeAndClose(ChannelHandlerContext ctx, OUTBOUND_IN msg, List<Object> out)protected voidMessageToMessageEncoder. encodeAndClose(ChannelHandlerContext ctx, I msg, List<Object> out)Encode from one message to another.protected BufferLengthFieldBasedFrameDecoder. extractFrame(ChannelHandlerContext ctx, Buffer buffer, int length)Extract the sub-region of the specified buffer.voidDatagramPacketEncoder. flush(ChannelHandlerContext ctx)protected BufferLengthFieldPrepender. getLengthFieldBuffer(ChannelHandlerContext ctx, int length, int lengthFieldLength, ByteOrder byteOrder)Encodes the length into a buffer which will be prepended as the length field.protected voidMessageAggregator. handleOversizedMessage(ChannelHandlerContext ctx, Object oversized)Invoked when an incoming request exceeds the maximum content length.voidByteToMessageCodec. handlerAdded(ChannelHandlerContext ctx)voidByteToMessageDecoder. handlerAdded(ChannelHandlerContext ctx)voidDatagramPacketDecoder. handlerAdded(ChannelHandlerContext ctx)voidDatagramPacketEncoder. handlerAdded(ChannelHandlerContext ctx)voidMessageAggregator. handlerAdded(ChannelHandlerContext ctx)protected voidByteToMessageDecoder. handlerAdded0(ChannelHandlerContext ctx)voidByteToMessageCodec. handlerRemoved(ChannelHandlerContext ctx)voidByteToMessageDecoder. handlerRemoved(ChannelHandlerContext ctx)voidDatagramPacketDecoder. handlerRemoved(ChannelHandlerContext ctx)voidDatagramPacketEncoder. handlerRemoved(ChannelHandlerContext ctx)voidMessageAggregator. handlerRemoved(ChannelHandlerContext ctx)protected voidByteToMessageDecoder. handlerRemoved0(ChannelHandlerContext ctx)Gets called after theByteToMessageDecoderwas removed from the actual context and it doesn't handle events anymore.protected voidDelimiterBasedFrameDecoder. handlerRemoved0(ChannelHandlerContext ctx)voidDatagramPacketEncoder. read(ChannelHandlerContext ctx)Future<Void>ByteToMessageCodec. write(ChannelHandlerContext ctx, Object msg)Future<Void>MessageToByteEncoder. write(ChannelHandlerContext ctx, Object msg)Future<Void>MessageToMessageCodec. write(ChannelHandlerContext ctx, Object msg)Future<Void>MessageToMessageEncoder. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.base64
Methods in io.netty5.handler.codec.base64 with parameters of type ChannelHandlerContext Modifier and Type Method Description protected voidBase64Decoder. decode(ChannelHandlerContext ctx, Buffer msg)protected voidBase64Encoder. encode(ChannelHandlerContext ctx, Buffer msg, List<Object> out) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.bytes
Methods in io.netty5.handler.codec.bytes with parameters of type ChannelHandlerContext Modifier and Type Method Description protected voidByteArrayDecoder. decode(ChannelHandlerContext ctx, Buffer msg)protected voidByteArrayEncoder. encode(ChannelHandlerContext ctx, byte[] msg, List<Object> out) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.compression
Methods in io.netty5.handler.codec.compression with parameters of type ChannelHandlerContext Modifier and Type Method Description voidCompressionHandler. channelInactive(ChannelHandlerContext ctx)voidDecompressionHandler. channelInactive(ChannelHandlerContext ctx)Future<Void>CompressionHandler. close(ChannelHandlerContext ctx)protected voidDecompressionHandler. decode(ChannelHandlerContext ctx, Buffer in)voidCompressionHandler. handlerAdded(ChannelHandlerContext ctx)protected voidDecompressionHandler. handlerAdded0(ChannelHandlerContext ctx)voidCompressionHandler. handlerRemoved(ChannelHandlerContext ctx)protected voidDecompressionHandler. handlerRemoved0(ChannelHandlerContext ctx)Future<Void>CompressionHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.dns
Methods in io.netty5.handler.codec.dns with parameters of type ChannelHandlerContext Modifier and Type Method Description protected BufferDatagramDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,InetSocketAddress> msg)Allocate aBufferwhich will be used for constructing a datagram packet.protected BufferDatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> msg)Allocate aBufferwhich will be used for constructing a datagram packet.protected BufferTcpDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, DnsQuery msg)protected voidDatagramDnsQueryDecoder. decode(ChannelHandlerContext ctx, DatagramPacket packet)protected voidDatagramDnsResponseDecoder. decode(ChannelHandlerContext ctx, DatagramPacket packet)protected ObjectTcpDnsQueryDecoder. decode0(ChannelHandlerContext ctx, Buffer in)protected ObjectTcpDnsResponseDecoder. decode0(ChannelHandlerContext ctx, Buffer in)protected DnsResponseDatagramDnsResponseDecoder. decodeResponse(ChannelHandlerContext ctx, DatagramPacket packet)protected voidDatagramDnsQueryEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,InetSocketAddress> in, List<Object> out)protected voidDatagramDnsResponseEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> in, List<Object> out)protected voidTcpDnsQueryEncoder. encode(ChannelHandlerContext ctx, DnsQuery msg, Buffer out)protected voidTcpDnsResponseEncoder. encode(ChannelHandlerContext ctx, DnsResponse response, List<Object> out) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.http
Fields in io.netty5.handler.codec.http declared as ChannelHandlerContext Modifier and Type Field Description protected ChannelHandlerContextHttpContentDecoder. ctxMethods in io.netty5.handler.codec.http with parameters of type ChannelHandlerContext Modifier and Type Method Description voidHttpObjectAggregator. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidHttpContentDecoder. channelInactive(ChannelHandlerContext ctx)voidHttpContentEncoder. channelInactive(ChannelHandlerContext ctx)voidHttpObjectDecoder. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidHttpServerExpectContinueHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidHttpServerKeepAliveHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidHttpContentDecoder. channelReadComplete(ChannelHandlerContext ctx)protected abstract HttpMessageHttpObjectDecoder. createInvalidMessage(ChannelHandlerContext ctx)protected HttpMessageHttpRequestDecoder. createInvalidMessage(ChannelHandlerContext ctx)protected HttpMessageHttpResponseDecoder. createInvalidMessage(ChannelHandlerContext ctx)protected voidHttpClientUpgradeHandler. decode(ChannelHandlerContext ctx, HttpObject msg)protected voidHttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg)protected voidHttpObjectDecoder. decode(ChannelHandlerContext ctx, Buffer buffer)protected voidHttpContentDecoder. decodeAndClose(ChannelHandlerContext ctx, HttpObject msg)protected voidHttpContentEncoder. decodeAndClose(ChannelHandlerContext ctx, HttpRequest msg)protected voidHttpServerUpgradeHandler. decodeAndClose(ChannelHandlerContext ctx, HttpObject msg)protected voidHttpObjectDecoder. decodeLast(ChannelHandlerContext ctx, Buffer in)protected voidHttpContentEncoder. encodeAndClose(ChannelHandlerContext ctx, HttpObject msg, List<Object> out)protected voidHttpObjectEncoder. encodeAndClose(ChannelHandlerContext ctx, Object msg, List<Object> out)protected voidHttpObjectAggregator. handleOversizedMessage(ChannelHandlerContext ctx, Object oversized)voidHttpContentDecoder. handlerAdded(ChannelHandlerContext ctx)voidHttpContentDecoder. handlerRemoved(ChannelHandlerContext ctx)voidHttpContentEncoder. handlerRemoved(ChannelHandlerContext ctx)voidHttpClientCodec. prepareUpgradeFrom(ChannelHandlerContext ctx)Prepares to upgrade to another protocol from HTTP.voidHttpClientUpgradeHandler.SourceCodec. prepareUpgradeFrom(ChannelHandlerContext ctx)Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodeccan send an initial greeting (if any).booleanHttpServerUpgradeHandler.UpgradeCodec. prepareUpgradeResponse(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders upgradeHeaders)Prepares theupgradeHeadersfor a protocol update based upon the contents ofupgradeRequest.Collection<CharSequence>HttpClientUpgradeHandler.UpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)Sets any protocol-specific headers required to the upgrade request.voidHttpClientCodec. upgradeFrom(ChannelHandlerContext ctx)Upgrades to another protocol from HTTP.voidHttpClientUpgradeHandler.SourceCodec. upgradeFrom(ChannelHandlerContext ctx)Removes this codec (i.e. all associated handlers) from the pipeline.voidHttpServerCodec. upgradeFrom(ChannelHandlerContext ctx)Upgrades to another protocol from HTTP.voidHttpServerUpgradeHandler.SourceCodec. upgradeFrom(ChannelHandlerContext ctx)Removes this codec (i.e. all associated handlers) from the pipeline.voidHttpClientUpgradeHandler.UpgradeCodec. upgradeTo(ChannelHandlerContext ctx, Send<FullHttpResponse> upgradeResponse)Performs an HTTP protocol upgrade from the source codec.voidHttpServerUpgradeHandler.UpgradeCodec. upgradeTo(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest)Performs an HTTP protocol upgrade from the source codec.Future<Void>HttpClientUpgradeHandler. write(ChannelHandlerContext ctx, Object msg)Future<Void>HttpServerKeepAliveHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.http.cors
Methods in io.netty5.handler.codec.http.cors with parameters of type ChannelHandlerContext Modifier and Type Method Description voidCorsHandler. channelRead(ChannelHandlerContext ctx, Object msg)Future<Void>CorsHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.http.websocketx
Methods in io.netty5.handler.codec.http.websocketx with parameters of type ChannelHandlerContext Modifier and Type Method Description voidWebSocketServerProtocolHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidUtf8FrameValidator. channelRead(ChannelHandlerContext ctx, Object msg)protected voidWebSocket13FrameDecoder. checkCloseFrameBody(ChannelHandlerContext ctx, Buffer buffer)Future<Void>WebSocketClientHandshaker. close(ChannelHandlerContext ctx, CloseWebSocketFrame frame)Performs the closing handshakeFuture<Void>WebSocketServerHandshaker. close(ChannelHandlerContext ctx, CloseWebSocketFrame frame)Performs the closing handshake.protected voidWebSocket13FrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)protected voidWebSocketClientProtocolHandler. decodeAndClose(ChannelHandlerContext ctx, WebSocketFrame frame)protected voidWebSocketServerProtocolHandler. decodeAndClose(ChannelHandlerContext ctx, WebSocketFrame frame)protected voidWebSocket13FrameEncoder. encodeAndClose(ChannelHandlerContext ctx, WebSocketFrame msg, List<Object> out)voidWebSocketClientProtocolHandler. handlerAdded(ChannelHandlerContext ctx)voidWebSocketServerProtocolHandler. handlerAdded(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.http.websocketx.extensions
Methods in io.netty5.handler.codec.http.websocketx.extensions with parameters of type ChannelHandlerContext Modifier and Type Method Description voidWebSocketClientExtensionHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidWebSocketServerExtensionHandler. channelRead(ChannelHandlerContext ctx, Object msg)Future<Void>WebSocketClientExtensionHandler. write(ChannelHandlerContext ctx, Object msg)Future<Void>WebSocketServerExtensionHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.http2
Methods in io.netty5.handler.codec.http2 that return ChannelHandlerContext Modifier and Type Method Description ChannelHandlerContextDefaultHttp2RemoteFlowController. channelHandlerContext()ChannelHandlerContextHttp2RemoteFlowController. channelHandlerContext()Get theChannelHandlerContextfor which to apply flow control on.Methods in io.netty5.handler.codec.http2 with parameters of type ChannelHandlerContext Modifier and Type Method Description voidHttp2ConnectionHandler. channelActive(ChannelHandlerContext ctx)voidHttp2ConnectionHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)HandlesHttp2Exceptionobjects that were thrown from other handlers.voidHttp2MultiplexHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidDefaultHttp2LocalFlowController. channelHandlerContext(ChannelHandlerContext ctx)voidDefaultHttp2RemoteFlowController. channelHandlerContext(ChannelHandlerContext ctx)Set theChannelHandlerContextfor which to apply flow control on.voidHttp2FlowController. channelHandlerContext(ChannelHandlerContext ctx)Set theChannelHandlerContextfor which to apply flow control on.voidHttp2ConnectionHandler. channelInactive(ChannelHandlerContext ctx)voidHttp2FrameCodec. channelInboundEvent(ChannelHandlerContext ctx, Object evt)Handles the cleartext HTTP upgrade event.voidHttp2MultiplexHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidHttp2MultiplexHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidInboundHttpToHttp2Adapter. channelRead(ChannelHandlerContext ctx, Object msg)voidHttp2ConnectionHandler. channelReadComplete(ChannelHandlerContext ctx)voidHttp2MultiplexHandler. channelReadComplete(ChannelHandlerContext ctx)Notifies any child streams of the read completion.voidHttp2ConnectionHandler. channelWritabilityChanged(ChannelHandlerContext ctx)voidHttp2MultiplexHandler. channelWritabilityChanged(ChannelHandlerContext ctx)Future<Void>Http2ConnectionHandler. close(ChannelHandlerContext ctx)protected voidCleartextHttp2ServerUpgradeHandler. decode(ChannelHandlerContext ctx, Buffer in)Peek inbound message to determine current connection wants to start HTTP/2 by HTTP upgrade or prior knowledgeprotected voidHttp2ConnectionHandler. decode(ChannelHandlerContext ctx, Buffer in)protected voidHttp2StreamFrameToHttpObjectCodec. decodeAndClose(ChannelHandlerContext ctx, Http2StreamFrame frame)voidDecoratingHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)voidDefaultHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)voidHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)Called by theHttp2ConnectionHandlerto decode the next frame from the input buffer.protected voidHttp2StreamFrameToHttpObjectCodec. encodeAndClose(ChannelHandlerContext ctx, HttpObject obj, List<Object> out)Encode from anHttpObjectto anHttp2StreamFrame.voidHttp2RemoteFlowController.FlowControlled. error(ChannelHandlerContext ctx, Throwable cause)Called to indicate that an error occurred before this object could be completely written.protected voidInboundHttp2ToHttpAdapter. fireChannelRead(ChannelHandlerContext ctx, FullHttpMessage<?> msg, boolean release, Http2Stream stream)Set final headers and fire a channel read eventvoidHttp2ConnectionHandler. flush(ChannelHandlerContext ctx)Future<Void>Http2ConnectionHandler. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Future<Void>Http2LifecycleManager. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Prevents the peer from creating streams and close the connection iferrorCodeis notHttp2Error.NO_ERROR.voidHttp2ChannelDuplexHandler. handlerAdded(ChannelHandlerContext ctx)voidHttp2StreamFrameToHttpObjectCodec. handlerAdded(ChannelHandlerContext ctx)voidCleartextHttp2ServerUpgradeHandler. handlerAdded0(ChannelHandlerContext ctx)protected voidHttp2ChannelDuplexHandler. handlerAdded0(ChannelHandlerContext ctx)voidHttp2ConnectionHandler. handlerAdded0(ChannelHandlerContext ctx)voidHttp2FrameCodec. handlerAdded0(ChannelHandlerContext ctx)protected voidHttp2MultiplexHandler. handlerAdded0(ChannelHandlerContext ctx)voidHttp2ChannelDuplexHandler. handlerRemoved(ChannelHandlerContext ctx)protected voidHttp2ChannelDuplexHandler. handlerRemoved0(ChannelHandlerContext ctx)protected voidHttp2ConnectionHandler. handlerRemoved0(ChannelHandlerContext ctx)protected voidHttp2MultiplexHandler. handlerRemoved0(ChannelHandlerContext ctx)protected voidHttp2ConnectionHandler. handleServerHeaderDecodeSizeError(ChannelHandlerContext ctx, Http2Stream stream)Notifies client that this server has received headers that are larger than what it is willing to accept.booleanHttp2PromisedRequestVerifier. isAuthoritative(ChannelHandlerContext ctx, Http2Headers headers)Determine if aHttp2Headersare authoritative for a particularChannelHandlerContext.protected booleanHttp2StreamFrameToHttpObjectCodec. isSsl(ChannelHandlerContext ctx)voidHttp2FrameLogger. logData(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)voidHttp2FrameLogger. logGoAway(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)voidHttp2FrameLogger. logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)voidHttp2FrameLogger. logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)voidHttp2FrameLogger. logPing(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)voidHttp2FrameLogger. logPingAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)voidHttp2FrameLogger. logPriority(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)voidHttp2FrameLogger. logPushPromise(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)voidHttp2FrameLogger. logRstStream(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, long errorCode)voidHttp2FrameLogger. logSettings(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, Http2Settings settings)voidHttp2FrameLogger. logSettingsAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx)voidHttp2FrameLogger. logUnknownFrame(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer data)voidHttp2FrameLogger. logWindowsUpdate(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)booleanHttp2RemoteFlowController.FlowControlled. merge(ChannelHandlerContext ctx, Http2RemoteFlowController.FlowControlled next)Merge the contents of thenextmessage into this message so they can be written out as one unit.protected CompressorCompressorHttp2ConnectionEncoder. newContentCompressor(ChannelHandlerContext ctx, CharSequence contentEncoding)Returns a newCompressorthat encodes the HTTP2 message content encoded in the specifiedcontentEncoding.protected DecompressorDelegatingDecompressorFrameListener. newContentDecompressor(ChannelHandlerContext ctx, CharSequence contentEncoding)Returns a newEmbeddedChannelthat decodes the HTTP2 message content encoded in the specifiedcontentEncoding.protected voidHttp2ConnectionHandler. onConnectionError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception http2Ex)Handler for a connection error.protected voidHttp2FrameCodec. onConnectionError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception http2Ex)intDelegatingDecompressorFrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)intHttp2EventAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)intHttp2FrameAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)intHttp2FrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)Handles an inboundDATAframe.intHttp2FrameListenerDecorator. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)intInboundHttp2ToHttpAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)voidHttp2ConnectionHandler. onError(ChannelHandlerContext ctx, boolean outbound, Throwable cause)Central handler for all exceptions caught during HTTP/2 processing.voidHttp2LifecycleManager. onError(ChannelHandlerContext ctx, boolean outbound, Throwable cause)Processes the given error.voidHttp2EventAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)voidHttp2FrameAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)voidHttp2FrameListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Handles an inboundGO_AWAYframe.voidHttp2FrameListenerDecorator. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)voidDelegatingDecompressorFrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)voidDelegatingDecompressorFrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)voidHttp2EventAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)voidHttp2EventAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)voidHttp2FrameAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)voidHttp2FrameAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)voidHttp2FrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endOfStream)Handles an inboundHEADERSframe.voidHttp2FrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)Handles an inboundHEADERSframe with priority information specified.voidHttp2FrameListenerDecorator. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)voidHttp2FrameListenerDecorator. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)voidInboundHttp2ToHttpAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endOfStream)voidInboundHttp2ToHttpAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)voidHttp2EventAdapter. onPingAckRead(ChannelHandlerContext ctx, long data)voidHttp2FrameAdapter. onPingAckRead(ChannelHandlerContext ctx, long data)voidHttp2FrameListener. onPingAckRead(ChannelHandlerContext ctx, long data)Handles an inboundPINGacknowledgment.voidHttp2FrameListenerDecorator. onPingAckRead(ChannelHandlerContext ctx, long data)voidHttp2EventAdapter. onPingRead(ChannelHandlerContext ctx, long data)voidHttp2FrameAdapter. onPingRead(ChannelHandlerContext ctx, long data)voidHttp2FrameListener. onPingRead(ChannelHandlerContext ctx, long data)Handles an inboundPINGframe.voidHttp2FrameListenerDecorator. onPingRead(ChannelHandlerContext ctx, long data)voidHttp2EventAdapter. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)voidHttp2FrameAdapter. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)voidHttp2FrameListener. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Handles an inboundPRIORITYframe.voidHttp2FrameListenerDecorator. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)voidHttp2EventAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)voidHttp2FrameAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)voidHttp2FrameListener. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Handles an inboundPUSH_PROMISEframe.voidHttp2FrameListenerDecorator. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)voidInboundHttp2ToHttpAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)voidHttp2EventAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)voidHttp2FrameAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)voidHttp2FrameListener. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)Handles an inboundRST_STREAMframe.voidHttp2FrameListenerDecorator. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)voidInboundHttp2ToHttpAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)voidHttp2EventAdapter. onSettingsAckRead(ChannelHandlerContext ctx)voidHttp2FrameAdapter. onSettingsAckRead(ChannelHandlerContext ctx)voidHttp2FrameListener. onSettingsAckRead(ChannelHandlerContext ctx)Handles an inboundSETTINGSacknowledgment frame.voidHttp2FrameListenerDecorator. onSettingsAckRead(ChannelHandlerContext ctx)voidHttp2EventAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)voidHttp2FrameAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)voidHttp2FrameListener. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)Handles an inboundSETTINGSframe.voidHttp2FrameListenerDecorator. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)voidInboundHttp2ToHttpAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)protected voidHttp2ConnectionHandler. onStreamError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception.StreamException http2Ex)Handler for a stream error.protected voidHttp2FrameCodec. onStreamError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception.StreamException streamException)Exceptions for unknown streams, that is streams that have noHttp2FrameStreamobject attached are simply logged and replied to by sending a RST_STREAM frame.voidHttp2EventAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)voidHttp2FrameAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)voidHttp2FrameListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Handler for a frame not defined by the HTTP/2 spec.voidHttp2FrameListenerDecorator. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)voidHttp2EventAdapter. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)voidHttp2FrameAdapter. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)voidHttp2FrameListener. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)Handles an inboundWINDOW_UPDATEframe.voidHttp2FrameListenerDecorator. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)voidHttp2StreamChannelBootstrap. open0(ChannelHandlerContext ctx, Promise<Http2StreamChannel> promise)Deprecated.should not be used directly.booleanHttp2ServerUpgradeCodec. prepareUpgradeResponse(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders headers)protected FullHttpMessage<?>InboundHttp2ToHttpAdapter. processHeadersBegin(ChannelHandlerContext ctx, Http2Stream stream, Http2Headers headers, boolean endOfStream, boolean allowAppend, boolean appendToTrailer)Provides translation between HTTP/2 and HTTP header objects while ensuring the stream is in a valid state for additional headers.voidDefaultHttp2FrameReader. readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)voidHttp2FrameReader. readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)Attempts to read the next frame from the input buffer.voidHttp2InboundFrameLogger. readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)Future<Void>Http2ConnectionHandler. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>Http2LifecycleManager. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode)Ensure the stream identified bystreamIdis reset.Collection<CharSequence>Http2ClientUpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)static BufferHttp2CodecUtil. toBuffer(ChannelHandlerContext ctx, Throwable cause)Creates a buffer containing the error message from the given exception.voidHttp2ClientUpgradeCodec. upgradeTo(ChannelHandlerContext ctx, Send<FullHttpResponse> upgradeResponse)voidHttp2ServerUpgradeCodec. upgradeTo(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest)Future<Void>Http2FrameCodec. write(ChannelHandlerContext ctx, Object msg)Processes allHttp2Frames.voidHttp2RemoteFlowController.FlowControlled. write(ChannelHandlerContext ctx, int allowedBytes)Writes up toallowedBytesof the encapsulated payload to the stream.Future<Void>HttpToHttp2ConnectionHandler. write(ChannelHandlerContext ctx, Object msg)Handles conversion ofHttpMessageandHttpContentto HTTP/2 frames.Future<Void>CompressorHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)Future<Void>DecoratingHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)Future<Void>DefaultHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)Future<Void>DefaultHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)Future<Void>Http2DataWriter. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)Writes aDATAframe to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)Future<Void>StreamBufferingEncoder. writeData(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)Future<Void>DecoratingHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Future<Void>DefaultHttp2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Future<Void>DefaultHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Future<Void>Http2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Writes the given data to the internalHttp2FrameWriterwithout performing any state checks on the connection/stream.Future<Void>Http2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Generic write method for any HTTP/2 frame.Future<Void>Http2OutboundFrameLogger. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)Future<Void>DecoratingHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Future<Void>DefaultHttp2ConnectionEncoder. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Future<Void>DefaultHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Future<Void>Http2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Writes a GO_AWAY frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)Future<Void>CompressorHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>CompressorHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)Future<Void>DecoratingHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>DecoratingHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)Future<Void>DefaultHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>DefaultHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)Future<Void>DefaultHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>DefaultHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)Future<Void>Http2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Writes a HEADERS frame to the remote endpoint.Future<Void>Http2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)Writes a HEADERS frame with priority specified to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>Http2OutboundFrameLogger. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)Future<Void>StreamBufferingEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)Future<Void>StreamBufferingEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)Future<Void>DecoratingHttp2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data)Future<Void>DefaultHttp2ConnectionEncoder. writePing(ChannelHandlerContext ctx, boolean ack, long data)Future<Void>DefaultHttp2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data)Future<Void>Http2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data)Writes a PING frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writePing(ChannelHandlerContext ctx, boolean ack, long data)Future<Void>DecoratingHttp2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Future<Void>DefaultHttp2ConnectionEncoder. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Future<Void>DefaultHttp2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Future<Void>Http2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Writes a PRIORITY frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)Future<Void>DecoratingHttp2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Future<Void>DefaultHttp2ConnectionEncoder. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Future<Void>DefaultHttp2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Future<Void>Http2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Writes a PUSH_PROMISE frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)Future<Void>DecoratingHttp2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>DefaultHttp2ConnectionEncoder. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>DefaultHttp2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>Http2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Writes a RST_STREAM frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>StreamBufferingEncoder. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode)Future<Void>DecoratingHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings)Future<Void>DefaultHttp2ConnectionEncoder. writeSettings(ChannelHandlerContext ctx, Http2Settings settings)Future<Void>DefaultHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings)Future<Void>Http2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings)Writes a SETTINGS frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeSettings(ChannelHandlerContext ctx, Http2Settings settings)Future<Void>DecoratingHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx)Future<Void>DefaultHttp2ConnectionEncoder. writeSettingsAck(ChannelHandlerContext ctx)Future<Void>DefaultHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx)Future<Void>Http2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx)Writes a SETTINGS acknowledgment to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeSettingsAck(ChannelHandlerContext ctx)Future<Void>DecoratingHttp2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)Future<Void>DefaultHttp2ConnectionEncoder. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)Future<Void>DefaultHttp2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)Future<Void>Http2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)Writes a WINDOW_UPDATE frame to the remote endpoint.Future<Void>Http2OutboundFrameLogger. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.rtsp
Methods in io.netty5.handler.codec.rtsp with parameters of type ChannelHandlerContext Modifier and Type Method Description protected HttpMessageRtspDecoder. createInvalidMessage(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in io.netty5.handler.codec.string
Methods in io.netty5.handler.codec.string with parameters of type ChannelHandlerContext Modifier and Type Method Description protected voidStringDecoder. decode(ChannelHandlerContext ctx, Buffer msg)protected voidLineEncoder. encode(ChannelHandlerContext ctx, CharSequence msg, List<Object> out)protected voidStringEncoder. encode(ChannelHandlerContext ctx, CharSequence msg, List<Object> out) -
Uses of ChannelHandlerContext in io.netty5.handler.flow
Methods in io.netty5.handler.flow with parameters of type ChannelHandlerContext Modifier and Type Method Description voidFlowControlHandler. channelInactive(ChannelHandlerContext ctx)voidFlowControlHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidFlowControlHandler. channelReadComplete(ChannelHandlerContext ctx)voidFlowControlHandler. handlerRemoved(ChannelHandlerContext ctx)voidFlowControlHandler. read(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in io.netty5.handler.flush
Methods in io.netty5.handler.flush with parameters of type ChannelHandlerContext Modifier and Type Method Description voidFlushConsolidationHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidFlushConsolidationHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidFlushConsolidationHandler. channelReadComplete(ChannelHandlerContext ctx)voidFlushConsolidationHandler. channelWritabilityChanged(ChannelHandlerContext ctx)Future<Void>FlushConsolidationHandler. close(ChannelHandlerContext ctx)Future<Void>FlushConsolidationHandler. disconnect(ChannelHandlerContext ctx)voidFlushConsolidationHandler. flush(ChannelHandlerContext ctx)voidFlushConsolidationHandler. handlerAdded(ChannelHandlerContext ctx)voidFlushConsolidationHandler. handlerRemoved(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in io.netty5.handler.ipfilter
Methods in io.netty5.handler.ipfilter with parameters of type ChannelHandlerContext Modifier and Type Method Description protected abstract booleanAbstractRemoteAddressFilter. accept(ChannelHandlerContext ctx, T remoteAddress)This method is called immediately after aChannelgets registered.protected booleanIpSubnetFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)protected booleanRuleBasedIpFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)protected booleanUniqueIpFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)protected voidAbstractRemoteAddressFilter. channelAccepted(ChannelHandlerContext ctx, T remoteAddress)This method is called ifremoteAddressgets accepted byAbstractRemoteAddressFilter.accept(ChannelHandlerContext, SocketAddress).voidAbstractRemoteAddressFilter. channelActive(ChannelHandlerContext ctx)voidAbstractRemoteAddressFilter. channelRegistered(ChannelHandlerContext ctx)protected Future<Void>AbstractRemoteAddressFilter. channelRejected(ChannelHandlerContext ctx, T remoteAddress)This method is called ifremoteAddressgets rejected byAbstractRemoteAddressFilter.accept(ChannelHandlerContext, SocketAddress). -
Uses of ChannelHandlerContext in io.netty5.handler.logging
Methods in io.netty5.handler.logging with parameters of type ChannelHandlerContext Modifier and Type Method Description Future<Void>LoggingHandler. bind(ChannelHandlerContext ctx, SocketAddress localAddress)voidLoggingHandler. channelActive(ChannelHandlerContext ctx)voidLoggingHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidLoggingHandler. channelInactive(ChannelHandlerContext ctx)voidLoggingHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidLoggingHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidLoggingHandler. channelReadComplete(ChannelHandlerContext ctx)voidLoggingHandler. channelRegistered(ChannelHandlerContext ctx)voidLoggingHandler. channelUnregistered(ChannelHandlerContext ctx)voidLoggingHandler. channelWritabilityChanged(ChannelHandlerContext ctx)Future<Void>LoggingHandler. close(ChannelHandlerContext ctx)Future<Void>LoggingHandler. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)Future<Void>LoggingHandler. deregister(ChannelHandlerContext ctx)Future<Void>LoggingHandler. disconnect(ChannelHandlerContext ctx)voidLoggingHandler. flush(ChannelHandlerContext ctx)protected StringLoggingHandler. format(ChannelHandlerContext ctx, String eventName)Formats an event and returns the formatted message.protected StringLoggingHandler. format(ChannelHandlerContext ctx, String eventName, Object arg)Formats an event and returns the formatted message.protected StringLoggingHandler. format(ChannelHandlerContext ctx, String eventName, Object firstArg, Object secondArg)Formats an event and returns the formatted message.Future<Void>LoggingHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.ssl
Methods in io.netty5.handler.ssl with parameters of type ChannelHandlerContext Modifier and Type Method Description voidSslHandler. channelActive(ChannelHandlerContext ctx)Issues an initial TLS handshake once connected when used in client-modevoidApplicationProtocolNegotiationHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidSslHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)voidApplicationProtocolNegotiationHandler. channelInactive(ChannelHandlerContext ctx)voidSslHandler. channelInactive(ChannelHandlerContext ctx)voidApplicationProtocolNegotiationHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidSslMasterKeyHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)voidApplicationProtocolNegotiationHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidSslHandler. channelReadComplete(ChannelHandlerContext ctx)voidApplicationProtocolNegotiationHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)Future<Void>SslHandler. close(ChannelHandlerContext ctx)protected abstract voidApplicationProtocolNegotiationHandler. configurePipeline(ChannelHandlerContext ctx, String protocol)Invoked on successful initial SSL/TLS handshake.protected voidOptionalSslHandler. decode(ChannelHandlerContext context, Buffer in)protected voidSslClientHelloHandler. decode(ChannelHandlerContext ctx, Buffer in)protected voidSslHandler. decode(ChannelHandlerContext ctx, Buffer in)Future<Void>SslHandler. disconnect(ChannelHandlerContext ctx)voidSslHandler. flush(ChannelHandlerContext ctx)voidApplicationProtocolNegotiationHandler. handlerAdded(ChannelHandlerContext ctx)voidSslHandler. handlerAdded0(ChannelHandlerContext ctx)voidApplicationProtocolNegotiationHandler. handlerRemoved(ChannelHandlerContext ctx)protected voidSslClientHelloHandler. handlerRemoved0(ChannelHandlerContext ctx)voidSslHandler. handlerRemoved0(ChannelHandlerContext ctx)protected voidApplicationProtocolNegotiationHandler. handshakeFailure(ChannelHandlerContext ctx, Throwable cause)Invoked on failed initial SSL/TLS handshake.protected Future<T>AbstractSniHandler. lookup(ChannelHandlerContext ctx, Buffer clientHello)protected abstract Future<T>AbstractSniHandler. lookup(ChannelHandlerContext ctx, String hostname)Kicks off a lookup for the given SNI value and returns aFuturewhich in turn will notify theAbstractSniHandler.onLookupComplete(ChannelHandlerContext, String, Future)on completion.protected Future<SslContext>SniHandler. lookup(ChannelHandlerContext ctx, String hostname)The default implementation will simply callAsyncMapping.map(Object, Promise)but users can override this method to implement custom behavior.protected abstract Future<T>SslClientHelloHandler. lookup(ChannelHandlerContext ctx, Buffer clientHello)Kicks off a lookup for the givenClientHelloand returns aFuturewhich in turn will notify theSslClientHelloHandler.onLookupComplete(ChannelHandlerContext, Future)on completion.protected ChannelHandlerOptionalSslHandler. newNonSslHandler(ChannelHandlerContext context)Override to configure the ChannelHandler.protected SslHandlerOptionalSslHandler. newSslHandler(ChannelHandlerContext context, SslContext sslContext)Override to configure the SslHandler eg.protected voidAbstractSniHandler. onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future)protected abstract voidAbstractSniHandler. onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<? extends T> future)Called upon completion of theAbstractSniHandler.lookup(ChannelHandlerContext, String)Future.protected voidSniHandler. onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<? extends SslContext> future)protected abstract voidSslClientHelloHandler. onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future)Called upon completion of theSslClientHelloHandler.lookup(ChannelHandlerContext, Buffer)Future.longSslHandler. pendingOutboundBytes(ChannelHandlerContext ctx)voidSslClientHelloHandler. read(ChannelHandlerContext ctx)voidSslHandler. read(ChannelHandlerContext ctx)protected voidSniHandler. replaceHandler(ChannelHandlerContext ctx, String hostname, SslContext sslContext)The default implementation of this method will simply replacethisSniHandlerinstance with aSslHandler.Future<Void>SslHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.ssl.ocsp
Methods in io.netty5.handler.ssl.ocsp with parameters of type ChannelHandlerContext Modifier and Type Method Description voidOcspClientHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)protected abstract booleanOcspClientHandler. verify(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) -
Uses of ChannelHandlerContext in io.netty5.handler.stream
Methods in io.netty5.handler.stream with parameters of type ChannelHandlerContext Modifier and Type Method Description voidChunkedWriteHandler. channelInactive(ChannelHandlerContext ctx)voidChunkedWriteHandler. channelWritabilityChanged(ChannelHandlerContext ctx)voidChunkedWriteHandler. flush(ChannelHandlerContext ctx)voidChunkedWriteHandler. handlerAdded(ChannelHandlerContext ctx)Future<Void>ChunkedWriteHandler. write(ChannelHandlerContext ctx, Object msg) -
Uses of ChannelHandlerContext in io.netty5.handler.timeout
Methods in io.netty5.handler.timeout with parameters of type ChannelHandlerContext Modifier and Type Method Description voidIdleStateHandler. channelActive(ChannelHandlerContext ctx)protected voidIdleStateHandler. channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt)Is called when anIdleStateEventshould be fired.protected voidReadTimeoutHandler. channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt)voidIdleStateHandler. channelInactive(ChannelHandlerContext ctx)voidIdleStateHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidIdleStateHandler. channelReadComplete(ChannelHandlerContext ctx)voidIdleStateHandler. channelRegistered(ChannelHandlerContext ctx)voidIdleStateHandler. handlerAdded(ChannelHandlerContext ctx)voidIdleStateHandler. handlerRemoved(ChannelHandlerContext ctx)voidWriteTimeoutHandler. handlerRemoved(ChannelHandlerContext ctx)protected voidReadTimeoutHandler. readTimedOut(ChannelHandlerContext ctx)Is called when a read timeout was detected.Future<Void>IdleStateHandler. write(ChannelHandlerContext ctx, Object msg)Future<Void>WriteTimeoutHandler. write(ChannelHandlerContext ctx, Object msg)protected voidWriteTimeoutHandler. writeTimedOut(ChannelHandlerContext ctx)Is called when a write timeout was detected -
Uses of ChannelHandlerContext in io.netty5.handler.traffic
Methods in io.netty5.handler.traffic with parameters of type ChannelHandlerContext Modifier and Type Method Description voidAbstractTrafficShapingHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidGlobalChannelTrafficShapingHandler. channelRead(ChannelHandlerContext ctx, Object msg)voidAbstractTrafficShapingHandler. channelRegistered(ChannelHandlerContext ctx)protected longGlobalChannelTrafficShapingHandler. checkWaitReadTime(ChannelHandlerContext ctx, long wait, long now)voidChannelTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)voidGlobalChannelTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)voidGlobalTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)voidAbstractTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)voidChannelTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)voidGlobalChannelTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)voidGlobalTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)protected voidGlobalChannelTrafficShapingHandler. informReadOperation(ChannelHandlerContext ctx, long now)protected static booleanAbstractTrafficShapingHandler. isHandlerActive(ChannelHandlerContext ctx)voidAbstractTrafficShapingHandler. read(ChannelHandlerContext ctx)protected voidAbstractTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, Object msg, long delay, Promise<Void> promise)Deprecated.protected voidGlobalChannelTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, Object msg, long size, long writedelay, long now, Promise<Void> promise)Future<Void>AbstractTrafficShapingHandler. write(ChannelHandlerContext ctx, Object msg)Future<Void>GlobalChannelTrafficShapingHandler. write(ChannelHandlerContext ctx, Object msg)
-