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.ByteBuf
and 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 aString
into aio.netty5.buffer.ByteBuf
and 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 ChannelHandlerContext
ChannelPipeline. context(ChannelHandler handler)
Returns the context object of the specifiedChannelHandler
in this pipeline.ChannelHandlerContext
ChannelPipeline. context(Class<? extends ChannelHandler> handlerType)
Returns the context object of theChannelHandler
of the specified type in this pipeline.ChannelHandlerContext
ChannelPipeline. context(String name)
Returns the context object of theChannelHandler
with the specified name in this pipeline.ChannelHandlerContext
DefaultChannelPipeline. context(ChannelHandler handler)
ChannelHandlerContext
DefaultChannelPipeline. context(Class<? extends ChannelHandler> handlerType)
ChannelHandlerContext
DefaultChannelPipeline. context(String name)
ChannelHandlerContext
ChannelHandlerContext. fireChannelActive()
ChannelHandlerContext
ChannelHandlerContext. fireChannelExceptionCaught(Throwable cause)
ChannelHandlerContext
ChannelHandlerContext. fireChannelInactive()
ChannelHandlerContext
ChannelHandlerContext. fireChannelInboundEvent(Object evt)
ChannelHandlerContext
ChannelHandlerContext. fireChannelRead(Object msg)
ChannelHandlerContext
ChannelHandlerContext. fireChannelReadComplete()
ChannelHandlerContext
ChannelHandlerContext. fireChannelRegistered()
ChannelHandlerContext
ChannelHandlerContext. fireChannelShutdown(ChannelShutdownDirection direction)
ChannelHandlerContext
ChannelHandlerContext. fireChannelUnregistered()
ChannelHandlerContext
ChannelHandlerContext. fireChannelWritabilityChanged()
ChannelHandlerContext
ChannelPipeline. firstContext()
Returns the context of the firstChannelHandler
in this pipeline.ChannelHandlerContext
DefaultChannelPipeline. firstContext()
ChannelHandlerContext
ChannelHandlerContext. flush()
ChannelHandlerContext
ChannelPipeline. lastContext()
Returns the context of the lastChannelHandler
in this pipeline.ChannelHandlerContext
DefaultChannelPipeline. lastContext()
ChannelHandlerContext
ChannelHandlerContext. 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 void
ChannelHandler. channelActive(ChannelHandlerContext ctx)
TheChannel
of theChannelHandlerContext
is now activevoid
CombinedChannelDuplexHandler. channelActive(ChannelHandlerContext ctx)
default void
ChannelHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
Gets called if aThrowable
was thrown when handling inbound events.void
ChannelInitializer. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
CombinedChannelDuplexHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
default void
ChannelHandler. channelInactive(ChannelHandlerContext ctx)
TheChannel
of theChannelHandlerContext
was registered is now inactive and reached its end of lifetime.void
CombinedChannelDuplexHandler. channelInactive(ChannelHandlerContext ctx)
default void
ChannelHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
Gets called if a custom inbound event happened.void
CombinedChannelDuplexHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
SimpleUserEventChannelHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
default void
ChannelHandler. channelRead(ChannelHandlerContext ctx, Object msg)
Invoked when the currentChannel
has read a message from the peer.void
CombinedChannelDuplexHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
SimpleChannelInboundHandler. channelRead(ChannelHandlerContext ctx, Object msg)
default void
ChannelHandler. channelReadComplete(ChannelHandlerContext ctx)
Invoked when the last message read by the current read operation has been consumed byChannelHandler.channelRead(ChannelHandlerContext, Object)
.void
CombinedChannelDuplexHandler. channelReadComplete(ChannelHandlerContext ctx)
default void
ChannelHandler. channelRegistered(ChannelHandlerContext ctx)
void
CombinedChannelDuplexHandler. channelRegistered(ChannelHandlerContext ctx)
default void
ChannelHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)
TheChannel
of theChannelHandlerContext
was shutdown in one direction.void
CombinedChannelDuplexHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)
default void
ChannelHandler. channelUnregistered(ChannelHandlerContext ctx)
void
CombinedChannelDuplexHandler. channelUnregistered(ChannelHandlerContext ctx)
default void
ChannelHandler. channelWritabilityChanged(ChannelHandlerContext ctx)
Gets called once the writable state of aChannel
changed.void
CombinedChannelDuplexHandler. 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 void
SimpleUserEventChannelHandler. eventReceived(ChannelHandlerContext ctx, I evt)
Is called for each user event triggered of typeSimpleUserEventChannelHandler
.default void
ChannelHandler. flush(ChannelHandlerContext ctx)
Called once a flush operation is made.void
CombinedChannelDuplexHandler. flush(ChannelHandlerContext ctx)
default void
ChannelHandler. handlerAdded(ChannelHandlerContext ctx)
Gets called after theChannelHandler
was added to the actual context and it's ready to handle events.void
ChannelInitializer. handlerAdded(ChannelHandlerContext ctx)
Gets called after theChannelHandler
was added to the actual context and it's ready to handle events.void
CombinedChannelDuplexHandler. handlerAdded(ChannelHandlerContext ctx)
default void
ChannelHandler. handlerRemoved(ChannelHandlerContext ctx)
Gets called after theChannelHandler
was removed from the actual context and it doesn't handle events anymore.void
CombinedChannelDuplexHandler. handlerRemoved(ChannelHandlerContext ctx)
protected abstract void
SimpleChannelInboundHandler. messageReceived(ChannelHandlerContext ctx, I msg)
Is called for each message of typeSimpleChannelInboundHandler
.protected void
DefaultChannelPipeline. onUnhandledInboundMessage(ChannelHandlerContext ctx, Object msg)
Called once a message hit the end of theChannelPipeline
without been handled by the user inChannelHandler.channelRead(ChannelHandlerContext, Object)
.default long
ChannelHandler. pendingOutboundBytes(ChannelHandlerContext ctx)
The number of the outbound bytes that are buffered / queued in thisChannelHandler
.long
CombinedChannelDuplexHandler. pendingOutboundBytes(ChannelHandlerContext ctx)
default void
ChannelHandler. read(ChannelHandlerContext ctx)
Interceptsread()
.void
CombinedChannelDuplexHandler. 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)
void
AbstractCoalescingBufferQueue. 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 class
DelegatingChannelHandlerContext
Constructors 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 ChannelHandlerContext
MessageAggregator. ctx()
Methods in io.netty5.handler.codec with parameters of type ChannelHandlerContext Modifier and Type Method Description protected abstract Buffer
MessageToByteEncoder. allocateBuffer(ChannelHandlerContext ctx, I msg)
Allocate aBuffer
which will be used as argument of#encode(ChannelHandlerContext, I, Buffer)
.Future<Void>
DatagramPacketEncoder. bind(ChannelHandlerContext ctx, SocketAddress localAddress)
void
DatagramPacketDecoder. channelActive(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
ByteToMessageCodec. channelInactive(ChannelHandlerContext ctx)
void
ByteToMessageDecoder. channelInactive(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelInactive(ChannelHandlerContext ctx)
void
MessageAggregator. channelInactive(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
ByteToMessageCodec. channelRead(ChannelHandlerContext ctx, Object msg)
void
ByteToMessageDecoder. channelRead(ChannelHandlerContext ctx, Object msg)
void
MessageToMessageCodec. channelRead(ChannelHandlerContext ctx, Object msg)
void
MessageToMessageDecoder. channelRead(ChannelHandlerContext ctx, Object msg)
void
ByteToMessageCodec. channelReadComplete(ChannelHandlerContext ctx)
void
ByteToMessageDecoder. channelReadComplete(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelReadComplete(ChannelHandlerContext ctx)
void
MessageAggregator. channelReadComplete(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelRegistered(ChannelHandlerContext ctx)
void
ByteToMessageDecoder. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)
void
DatagramPacketDecoder. channelUnregistered(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. channelWritabilityChanged(ChannelHandlerContext ctx)
Future<Void>
DatagramPacketEncoder. close(ChannelHandlerContext ctx)
Future<Void>
DatagramPacketEncoder. connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)
protected abstract void
ByteToMessageCodec. decode(ChannelHandlerContext ctx, Buffer in)
protected abstract void
ByteToMessageDecoder. decode(ChannelHandlerContext ctx, Buffer in)
Decode the from oneBuffer
to another.protected void
DatagramPacketDecoder. decode(ChannelHandlerContext ctx, DatagramPacket msg)
protected void
DelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)
protected void
FixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)
protected void
LengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)
protected void
LineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)
protected void
MessageAggregator. decode(ChannelHandlerContext ctx, I msg)
protected void
MessageToMessageCodec. decode(ChannelHandlerContext ctx, INBOUND_IN msg)
protected void
MessageToMessageDecoder. decode(ChannelHandlerContext ctx, I msg)
Decode from one message to another.protected Object
DelimiterBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)
Create a frame out of theBuffer
and return it.protected Object
FixedLengthFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer in)
Create a frame out of theBuffer
and return it.protected Object
LengthFieldBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)
Create a frame out of theBuffer
and return it.protected Object
LineBasedFrameDecoder. decode0(ChannelHandlerContext ctx, Buffer buffer)
Create a frame out of theBuffer
and return it.protected void
MessageToMessageCodec. decodeAndClose(ChannelHandlerContext ctx, INBOUND_IN msg)
protected void
MessageToMessageDecoder. decodeAndClose(ChannelHandlerContext ctx, I msg)
Decode from one message to another.protected void
ByteToMessageCodec. decodeLast(ChannelHandlerContext ctx, Buffer in)
protected void
ByteToMessageDecoder. decodeLast(ChannelHandlerContext ctx, Buffer in)
Is called one last time when theChannelHandlerContext
goes in-active.Future<Void>
DatagramPacketEncoder. deregister(ChannelHandlerContext ctx)
Future<Void>
DatagramPacketEncoder. disconnect(ChannelHandlerContext ctx)
protected abstract void
ByteToMessageCodec. encode(ChannelHandlerContext ctx, I msg, Buffer out)
protected void
DatagramPacketEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<M,InetSocketAddress> msg, List<Object> out)
protected void
LengthFieldPrepender. encode(ChannelHandlerContext ctx, Buffer buffer, List<Object> out)
protected abstract void
MessageToByteEncoder. encode(ChannelHandlerContext ctx, I msg, Buffer out)
Encode a message into aBuffer
.protected void
MessageToMessageCodec. encode(ChannelHandlerContext ctx, OUTBOUND_IN msg, List<Object> out)
protected void
MessageToMessageEncoder. encode(ChannelHandlerContext ctx, I msg, List<Object> out)
Encode from one message to another.protected void
MessageToMessageCodec. encodeAndClose(ChannelHandlerContext ctx, OUTBOUND_IN msg, List<Object> out)
protected void
MessageToMessageEncoder. encodeAndClose(ChannelHandlerContext ctx, I msg, List<Object> out)
Encode from one message to another.protected Buffer
LengthFieldBasedFrameDecoder. extractFrame(ChannelHandlerContext ctx, Buffer buffer, int length)
Extract the sub-region of the specified buffer.void
DatagramPacketEncoder. flush(ChannelHandlerContext ctx)
protected Buffer
LengthFieldPrepender. getLengthFieldBuffer(ChannelHandlerContext ctx, int length, int lengthFieldLength, ByteOrder byteOrder)
Encodes the length into a buffer which will be prepended as the length field.protected void
MessageAggregator. handleOversizedMessage(ChannelHandlerContext ctx, Object oversized)
Invoked when an incoming request exceeds the maximum content length.void
ByteToMessageCodec. handlerAdded(ChannelHandlerContext ctx)
void
ByteToMessageDecoder. handlerAdded(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. handlerAdded(ChannelHandlerContext ctx)
void
DatagramPacketEncoder. handlerAdded(ChannelHandlerContext ctx)
void
MessageAggregator. handlerAdded(ChannelHandlerContext ctx)
protected void
ByteToMessageDecoder. handlerAdded0(ChannelHandlerContext ctx)
void
ByteToMessageCodec. handlerRemoved(ChannelHandlerContext ctx)
void
ByteToMessageDecoder. handlerRemoved(ChannelHandlerContext ctx)
void
DatagramPacketDecoder. handlerRemoved(ChannelHandlerContext ctx)
void
DatagramPacketEncoder. handlerRemoved(ChannelHandlerContext ctx)
void
MessageAggregator. handlerRemoved(ChannelHandlerContext ctx)
protected void
ByteToMessageDecoder. handlerRemoved0(ChannelHandlerContext ctx)
Gets called after theByteToMessageDecoder
was removed from the actual context and it doesn't handle events anymore.protected void
DelimiterBasedFrameDecoder. handlerRemoved0(ChannelHandlerContext ctx)
void
DatagramPacketEncoder. 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 void
Base64Decoder. decode(ChannelHandlerContext ctx, Buffer msg)
protected void
Base64Encoder. 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 void
ByteArrayDecoder. decode(ChannelHandlerContext ctx, Buffer msg)
protected void
ByteArrayEncoder. 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 void
CompressionHandler. channelInactive(ChannelHandlerContext ctx)
void
DecompressionHandler. channelInactive(ChannelHandlerContext ctx)
Future<Void>
CompressionHandler. close(ChannelHandlerContext ctx)
protected void
DecompressionHandler. decode(ChannelHandlerContext ctx, Buffer in)
void
CompressionHandler. handlerAdded(ChannelHandlerContext ctx)
protected void
DecompressionHandler. handlerAdded0(ChannelHandlerContext ctx)
void
CompressionHandler. handlerRemoved(ChannelHandlerContext ctx)
protected void
DecompressionHandler. 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 Buffer
DatagramDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,InetSocketAddress> msg)
Allocate aBuffer
which will be used for constructing a datagram packet.protected Buffer
DatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> msg)
Allocate aBuffer
which will be used for constructing a datagram packet.protected Buffer
TcpDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, DnsQuery msg)
protected void
DatagramDnsQueryDecoder. decode(ChannelHandlerContext ctx, DatagramPacket packet)
protected void
DatagramDnsResponseDecoder. decode(ChannelHandlerContext ctx, DatagramPacket packet)
protected Object
TcpDnsQueryDecoder. decode0(ChannelHandlerContext ctx, Buffer in)
protected Object
TcpDnsResponseDecoder. decode0(ChannelHandlerContext ctx, Buffer in)
protected DnsResponse
DatagramDnsResponseDecoder. decodeResponse(ChannelHandlerContext ctx, DatagramPacket packet)
protected void
DatagramDnsQueryEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,InetSocketAddress> in, List<Object> out)
protected void
DatagramDnsResponseEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,InetSocketAddress> in, List<Object> out)
protected void
TcpDnsQueryEncoder. encode(ChannelHandlerContext ctx, DnsQuery msg, Buffer out)
protected void
TcpDnsResponseEncoder. 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 ChannelHandlerContext
HttpContentDecoder. ctx
Methods in io.netty5.handler.codec.http with parameters of type ChannelHandlerContext Modifier and Type Method Description void
HttpObjectAggregator. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
HttpContentDecoder. channelInactive(ChannelHandlerContext ctx)
void
HttpContentEncoder. channelInactive(ChannelHandlerContext ctx)
void
HttpObjectDecoder. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
HttpServerExpectContinueHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
HttpServerKeepAliveHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
HttpContentDecoder. channelReadComplete(ChannelHandlerContext ctx)
protected abstract HttpMessage
HttpObjectDecoder. createInvalidMessage(ChannelHandlerContext ctx)
protected HttpMessage
HttpRequestDecoder. createInvalidMessage(ChannelHandlerContext ctx)
protected HttpMessage
HttpResponseDecoder. createInvalidMessage(ChannelHandlerContext ctx)
protected void
HttpClientUpgradeHandler. decode(ChannelHandlerContext ctx, HttpObject msg)
protected void
HttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg)
protected void
HttpObjectDecoder. decode(ChannelHandlerContext ctx, Buffer buffer)
protected void
HttpContentDecoder. decodeAndClose(ChannelHandlerContext ctx, HttpObject msg)
protected void
HttpContentEncoder. decodeAndClose(ChannelHandlerContext ctx, HttpRequest msg)
protected void
HttpServerUpgradeHandler. decodeAndClose(ChannelHandlerContext ctx, HttpObject msg)
protected void
HttpObjectDecoder. decodeLast(ChannelHandlerContext ctx, Buffer in)
protected void
HttpContentEncoder. encodeAndClose(ChannelHandlerContext ctx, HttpObject msg, List<Object> out)
protected void
HttpObjectEncoder. encodeAndClose(ChannelHandlerContext ctx, Object msg, List<Object> out)
protected void
HttpObjectAggregator. handleOversizedMessage(ChannelHandlerContext ctx, Object oversized)
void
HttpContentDecoder. handlerAdded(ChannelHandlerContext ctx)
void
HttpContentDecoder. handlerRemoved(ChannelHandlerContext ctx)
void
HttpContentEncoder. handlerRemoved(ChannelHandlerContext ctx)
void
HttpClientCodec. prepareUpgradeFrom(ChannelHandlerContext ctx)
Prepares to upgrade to another protocol from HTTP.void
HttpClientUpgradeHandler.SourceCodec. prepareUpgradeFrom(ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting (if any).boolean
HttpServerUpgradeHandler.UpgradeCodec. prepareUpgradeResponse(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders upgradeHeaders)
Prepares theupgradeHeaders
for 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.void
HttpClientCodec. upgradeFrom(ChannelHandlerContext ctx)
Upgrades to another protocol from HTTP.void
HttpClientUpgradeHandler.SourceCodec. upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.void
HttpServerCodec. upgradeFrom(ChannelHandlerContext ctx)
Upgrades to another protocol from HTTP.void
HttpServerUpgradeHandler.SourceCodec. upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.void
HttpClientUpgradeHandler.UpgradeCodec. upgradeTo(ChannelHandlerContext ctx, Send<FullHttpResponse> upgradeResponse)
Performs an HTTP protocol upgrade from the source codec.void
HttpServerUpgradeHandler.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 void
CorsHandler. 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 void
WebSocketServerProtocolHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
Utf8FrameValidator. channelRead(ChannelHandlerContext ctx, Object msg)
protected void
WebSocket13FrameDecoder. 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 void
WebSocket13FrameDecoder. decode(ChannelHandlerContext ctx, Buffer in)
protected void
WebSocketClientProtocolHandler. decodeAndClose(ChannelHandlerContext ctx, WebSocketFrame frame)
protected void
WebSocketServerProtocolHandler. decodeAndClose(ChannelHandlerContext ctx, WebSocketFrame frame)
protected void
WebSocket13FrameEncoder. encodeAndClose(ChannelHandlerContext ctx, WebSocketFrame msg, List<Object> out)
void
WebSocketClientProtocolHandler. handlerAdded(ChannelHandlerContext ctx)
void
WebSocketServerProtocolHandler. 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 void
WebSocketClientExtensionHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
WebSocketServerExtensionHandler. 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 ChannelHandlerContext
DefaultHttp2RemoteFlowController. channelHandlerContext()
ChannelHandlerContext
Http2RemoteFlowController. channelHandlerContext()
Get theChannelHandlerContext
for which to apply flow control on.Methods in io.netty5.handler.codec.http2 with parameters of type ChannelHandlerContext Modifier and Type Method Description void
Http2ConnectionHandler. channelActive(ChannelHandlerContext ctx)
void
Http2ConnectionHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
HandlesHttp2Exception
objects that were thrown from other handlers.void
Http2MultiplexHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
DefaultHttp2LocalFlowController. channelHandlerContext(ChannelHandlerContext ctx)
void
DefaultHttp2RemoteFlowController. channelHandlerContext(ChannelHandlerContext ctx)
Set theChannelHandlerContext
for which to apply flow control on.void
Http2FlowController. channelHandlerContext(ChannelHandlerContext ctx)
Set theChannelHandlerContext
for which to apply flow control on.void
Http2ConnectionHandler. channelInactive(ChannelHandlerContext ctx)
void
Http2FrameCodec. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
Handles the cleartext HTTP upgrade event.void
Http2MultiplexHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
Http2MultiplexHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
InboundHttpToHttp2Adapter. channelRead(ChannelHandlerContext ctx, Object msg)
void
Http2ConnectionHandler. channelReadComplete(ChannelHandlerContext ctx)
void
Http2MultiplexHandler. channelReadComplete(ChannelHandlerContext ctx)
Notifies any child streams of the read completion.void
Http2ConnectionHandler. channelWritabilityChanged(ChannelHandlerContext ctx)
void
Http2MultiplexHandler. channelWritabilityChanged(ChannelHandlerContext ctx)
Future<Void>
Http2ConnectionHandler. close(ChannelHandlerContext ctx)
protected void
CleartextHttp2ServerUpgradeHandler. decode(ChannelHandlerContext ctx, Buffer in)
Peek inbound message to determine current connection wants to start HTTP/2 by HTTP upgrade or prior knowledgeprotected void
Http2ConnectionHandler. decode(ChannelHandlerContext ctx, Buffer in)
protected void
Http2StreamFrameToHttpObjectCodec. decodeAndClose(ChannelHandlerContext ctx, Http2StreamFrame frame)
void
DecoratingHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)
void
DefaultHttp2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)
void
Http2ConnectionDecoder. decodeFrame(ChannelHandlerContext ctx, Buffer in)
Called by theHttp2ConnectionHandler
to decode the next frame from the input buffer.protected void
Http2StreamFrameToHttpObjectCodec. encodeAndClose(ChannelHandlerContext ctx, HttpObject obj, List<Object> out)
Encode from anHttpObject
to anHttp2StreamFrame
.void
Http2RemoteFlowController.FlowControlled. error(ChannelHandlerContext ctx, Throwable cause)
Called to indicate that an error occurred before this object could be completely written.protected void
InboundHttp2ToHttpAdapter. fireChannelRead(ChannelHandlerContext ctx, FullHttpMessage<?> msg, boolean release, Http2Stream stream)
Set final headers and fire a channel read eventvoid
Http2ConnectionHandler. 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 iferrorCode
is notHttp2Error.NO_ERROR
.void
Http2ChannelDuplexHandler. handlerAdded(ChannelHandlerContext ctx)
void
Http2StreamFrameToHttpObjectCodec. handlerAdded(ChannelHandlerContext ctx)
void
CleartextHttp2ServerUpgradeHandler. handlerAdded0(ChannelHandlerContext ctx)
protected void
Http2ChannelDuplexHandler. handlerAdded0(ChannelHandlerContext ctx)
void
Http2ConnectionHandler. handlerAdded0(ChannelHandlerContext ctx)
void
Http2FrameCodec. handlerAdded0(ChannelHandlerContext ctx)
protected void
Http2MultiplexHandler. handlerAdded0(ChannelHandlerContext ctx)
void
Http2ChannelDuplexHandler. handlerRemoved(ChannelHandlerContext ctx)
protected void
Http2ChannelDuplexHandler. handlerRemoved0(ChannelHandlerContext ctx)
protected void
Http2ConnectionHandler. handlerRemoved0(ChannelHandlerContext ctx)
protected void
Http2MultiplexHandler. handlerRemoved0(ChannelHandlerContext ctx)
protected void
Http2ConnectionHandler. handleServerHeaderDecodeSizeError(ChannelHandlerContext ctx, Http2Stream stream)
Notifies client that this server has received headers that are larger than what it is willing to accept.boolean
Http2PromisedRequestVerifier. isAuthoritative(ChannelHandlerContext ctx, Http2Headers headers)
Determine if aHttp2Headers
are authoritative for a particularChannelHandlerContext
.protected boolean
Http2StreamFrameToHttpObjectCodec. isSsl(ChannelHandlerContext ctx)
void
Http2FrameLogger. logData(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endStream)
void
Http2FrameLogger. logGoAway(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)
void
Http2FrameLogger. logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
void
Http2FrameLogger. logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
void
Http2FrameLogger. logPing(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)
void
Http2FrameLogger. logPingAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)
void
Http2FrameLogger. logPriority(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
void
Http2FrameLogger. logPushPromise(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
void
Http2FrameLogger. logRstStream(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, long errorCode)
void
Http2FrameLogger. logSettings(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, Http2Settings settings)
void
Http2FrameLogger. logSettingsAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx)
void
Http2FrameLogger. logUnknownFrame(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer data)
void
Http2FrameLogger. logWindowsUpdate(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
boolean
Http2RemoteFlowController.FlowControlled. merge(ChannelHandlerContext ctx, Http2RemoteFlowController.FlowControlled next)
Merge the contents of thenext
message into this message so they can be written out as one unit.protected Compressor
CompressorHttp2ConnectionEncoder. newContentCompressor(ChannelHandlerContext ctx, CharSequence contentEncoding)
Returns a newCompressor
that encodes the HTTP2 message content encoded in the specifiedcontentEncoding
.protected Decompressor
DelegatingDecompressorFrameListener. newContentDecompressor(ChannelHandlerContext ctx, CharSequence contentEncoding)
Returns a newEmbeddedChannel
that decodes the HTTP2 message content encoded in the specifiedcontentEncoding
.protected void
Http2ConnectionHandler. onConnectionError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception http2Ex)
Handler for a connection error.protected void
Http2FrameCodec. onConnectionError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception http2Ex)
int
DelegatingDecompressorFrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
int
Http2EventAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
int
Http2FrameAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
int
Http2FrameListener. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
Handles an inboundDATA
frame.int
Http2FrameListenerDecorator. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
int
InboundHttp2ToHttpAdapter. onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream)
void
Http2ConnectionHandler. onError(ChannelHandlerContext ctx, boolean outbound, Throwable cause)
Central handler for all exceptions caught during HTTP/2 processing.void
Http2LifecycleManager. onError(ChannelHandlerContext ctx, boolean outbound, Throwable cause)
Processes the given error.void
Http2EventAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)
void
Http2FrameAdapter. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)
void
Http2FrameListener. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)
Handles an inboundGO_AWAY
frame.void
Http2FrameListenerDecorator. onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, Buffer debugData)
void
DelegatingDecompressorFrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
void
DelegatingDecompressorFrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
void
Http2EventAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
void
Http2EventAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
void
Http2FrameAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
void
Http2FrameAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
void
Http2FrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endOfStream)
Handles an inboundHEADERS
frame.void
Http2FrameListener. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)
Handles an inboundHEADERS
frame with priority information specified.void
Http2FrameListenerDecorator. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
void
Http2FrameListenerDecorator. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
void
InboundHttp2ToHttpAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endOfStream)
void
InboundHttp2ToHttpAdapter. onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)
void
Http2EventAdapter. onPingAckRead(ChannelHandlerContext ctx, long data)
void
Http2FrameAdapter. onPingAckRead(ChannelHandlerContext ctx, long data)
void
Http2FrameListener. onPingAckRead(ChannelHandlerContext ctx, long data)
Handles an inboundPING
acknowledgment.void
Http2FrameListenerDecorator. onPingAckRead(ChannelHandlerContext ctx, long data)
void
Http2EventAdapter. onPingRead(ChannelHandlerContext ctx, long data)
void
Http2FrameAdapter. onPingRead(ChannelHandlerContext ctx, long data)
void
Http2FrameListener. onPingRead(ChannelHandlerContext ctx, long data)
Handles an inboundPING
frame.void
Http2FrameListenerDecorator. onPingRead(ChannelHandlerContext ctx, long data)
void
Http2EventAdapter. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
void
Http2FrameAdapter. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
void
Http2FrameListener. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
Handles an inboundPRIORITY
frame.void
Http2FrameListenerDecorator. onPriorityRead(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
void
Http2EventAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
void
Http2FrameAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
void
Http2FrameListener. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
Handles an inboundPUSH_PROMISE
frame.void
Http2FrameListenerDecorator. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
void
InboundHttp2ToHttpAdapter. onPushPromiseRead(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
void
Http2EventAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)
void
Http2FrameAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)
void
Http2FrameListener. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)
Handles an inboundRST_STREAM
frame.void
Http2FrameListenerDecorator. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)
void
InboundHttp2ToHttpAdapter. onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode)
void
Http2EventAdapter. onSettingsAckRead(ChannelHandlerContext ctx)
void
Http2FrameAdapter. onSettingsAckRead(ChannelHandlerContext ctx)
void
Http2FrameListener. onSettingsAckRead(ChannelHandlerContext ctx)
Handles an inboundSETTINGS
acknowledgment frame.void
Http2FrameListenerDecorator. onSettingsAckRead(ChannelHandlerContext ctx)
void
Http2EventAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
void
Http2FrameAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
void
Http2FrameListener. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
Handles an inboundSETTINGS
frame.void
Http2FrameListenerDecorator. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
void
InboundHttp2ToHttpAdapter. onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
protected void
Http2ConnectionHandler. onStreamError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception.StreamException http2Ex)
Handler for a stream error.protected void
Http2FrameCodec. onStreamError(ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception.StreamException streamException)
Exceptions for unknown streams, that is streams that have noHttp2FrameStream
object attached are simply logged and replied to by sending a RST_STREAM frame.void
Http2EventAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)
void
Http2FrameAdapter. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)
void
Http2FrameListener. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)
Handler for a frame not defined by the HTTP/2 spec.void
Http2FrameListenerDecorator. onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, Buffer payload)
void
Http2EventAdapter. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
void
Http2FrameAdapter. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
void
Http2FrameListener. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
Handles an inboundWINDOW_UPDATE
frame.void
Http2FrameListenerDecorator. onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
void
Http2StreamChannelBootstrap. open0(ChannelHandlerContext ctx, Promise<Http2StreamChannel> promise)
Deprecated.should not be used directly.boolean
Http2ServerUpgradeCodec. 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.void
DefaultHttp2FrameReader. readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)
void
Http2FrameReader. readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)
Attempts to read the next frame from the input buffer.void
Http2InboundFrameLogger. 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 bystreamId
is reset.Collection<CharSequence>
Http2ClientUpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)
static Buffer
Http2CodecUtil. toBuffer(ChannelHandlerContext ctx, Throwable cause)
Creates a buffer containing the error message from the given exception.void
Http2ClientUpgradeCodec. upgradeTo(ChannelHandlerContext ctx, Send<FullHttpResponse> upgradeResponse)
void
Http2ServerUpgradeCodec. upgradeTo(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest)
Future<Void>
Http2FrameCodec. write(ChannelHandlerContext ctx, Object msg)
Processes allHttp2Frame
s.void
Http2RemoteFlowController.FlowControlled. write(ChannelHandlerContext ctx, int allowedBytes)
Writes up toallowedBytes
of the encapsulated payload to the stream.Future<Void>
HttpToHttp2ConnectionHandler. write(ChannelHandlerContext ctx, Object msg)
Handles conversion ofHttpMessage
andHttpContent
to 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 aDATA
frame 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 internalHttp2FrameWriter
without 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 HttpMessage
RtspDecoder. 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 void
StringDecoder. decode(ChannelHandlerContext ctx, Buffer msg)
protected void
LineEncoder. encode(ChannelHandlerContext ctx, CharSequence msg, List<Object> out)
protected void
StringEncoder. 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 void
FlowControlHandler. channelInactive(ChannelHandlerContext ctx)
void
FlowControlHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
FlowControlHandler. channelReadComplete(ChannelHandlerContext ctx)
void
FlowControlHandler. handlerRemoved(ChannelHandlerContext ctx)
void
FlowControlHandler. 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 void
FlushConsolidationHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
FlushConsolidationHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
FlushConsolidationHandler. channelReadComplete(ChannelHandlerContext ctx)
void
FlushConsolidationHandler. channelWritabilityChanged(ChannelHandlerContext ctx)
Future<Void>
FlushConsolidationHandler. close(ChannelHandlerContext ctx)
Future<Void>
FlushConsolidationHandler. disconnect(ChannelHandlerContext ctx)
void
FlushConsolidationHandler. flush(ChannelHandlerContext ctx)
void
FlushConsolidationHandler. handlerAdded(ChannelHandlerContext ctx)
void
FlushConsolidationHandler. 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 boolean
AbstractRemoteAddressFilter. accept(ChannelHandlerContext ctx, T remoteAddress)
This method is called immediately after aChannel
gets registered.protected boolean
IpSubnetFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)
protected boolean
RuleBasedIpFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)
protected boolean
UniqueIpFilter. accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress)
protected void
AbstractRemoteAddressFilter. channelAccepted(ChannelHandlerContext ctx, T remoteAddress)
This method is called ifremoteAddress
gets accepted byAbstractRemoteAddressFilter.accept(ChannelHandlerContext, SocketAddress)
.void
AbstractRemoteAddressFilter. channelActive(ChannelHandlerContext ctx)
void
AbstractRemoteAddressFilter. channelRegistered(ChannelHandlerContext ctx)
protected Future<Void>
AbstractRemoteAddressFilter. channelRejected(ChannelHandlerContext ctx, T remoteAddress)
This method is called ifremoteAddress
gets 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)
void
LoggingHandler. channelActive(ChannelHandlerContext ctx)
void
LoggingHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
LoggingHandler. channelInactive(ChannelHandlerContext ctx)
void
LoggingHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
LoggingHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
LoggingHandler. channelReadComplete(ChannelHandlerContext ctx)
void
LoggingHandler. channelRegistered(ChannelHandlerContext ctx)
void
LoggingHandler. channelUnregistered(ChannelHandlerContext ctx)
void
LoggingHandler. 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)
void
LoggingHandler. flush(ChannelHandlerContext ctx)
protected String
LoggingHandler. format(ChannelHandlerContext ctx, String eventName)
Formats an event and returns the formatted message.protected String
LoggingHandler. format(ChannelHandlerContext ctx, String eventName, Object arg)
Formats an event and returns the formatted message.protected String
LoggingHandler. 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 void
SslHandler. channelActive(ChannelHandlerContext ctx)
Issues an initial TLS handshake once connected when used in client-modevoid
ApplicationProtocolNegotiationHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
SslHandler. channelExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
void
ApplicationProtocolNegotiationHandler. channelInactive(ChannelHandlerContext ctx)
void
SslHandler. channelInactive(ChannelHandlerContext ctx)
void
ApplicationProtocolNegotiationHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
SslMasterKeyHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
void
ApplicationProtocolNegotiationHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
SslHandler. channelReadComplete(ChannelHandlerContext ctx)
void
ApplicationProtocolNegotiationHandler. channelShutdown(ChannelHandlerContext ctx, ChannelShutdownDirection direction)
Future<Void>
SslHandler. close(ChannelHandlerContext ctx)
protected abstract void
ApplicationProtocolNegotiationHandler. configurePipeline(ChannelHandlerContext ctx, String protocol)
Invoked on successful initial SSL/TLS handshake.protected void
OptionalSslHandler. decode(ChannelHandlerContext context, Buffer in)
protected void
SslClientHelloHandler. decode(ChannelHandlerContext ctx, Buffer in)
protected void
SslHandler. decode(ChannelHandlerContext ctx, Buffer in)
Future<Void>
SslHandler. disconnect(ChannelHandlerContext ctx)
void
SslHandler. flush(ChannelHandlerContext ctx)
void
ApplicationProtocolNegotiationHandler. handlerAdded(ChannelHandlerContext ctx)
void
SslHandler. handlerAdded0(ChannelHandlerContext ctx)
void
ApplicationProtocolNegotiationHandler. handlerRemoved(ChannelHandlerContext ctx)
protected void
SslClientHelloHandler. handlerRemoved0(ChannelHandlerContext ctx)
void
SslHandler. handlerRemoved0(ChannelHandlerContext ctx)
protected void
ApplicationProtocolNegotiationHandler. 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 aFuture
which 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 givenClientHello
and returns aFuture
which in turn will notify theSslClientHelloHandler.onLookupComplete(ChannelHandlerContext, Future)
on completion.protected ChannelHandler
OptionalSslHandler. newNonSslHandler(ChannelHandlerContext context)
Override to configure the ChannelHandler.protected SslHandler
OptionalSslHandler. newSslHandler(ChannelHandlerContext context, SslContext sslContext)
Override to configure the SslHandler eg.protected void
AbstractSniHandler. onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future)
protected abstract void
AbstractSniHandler. onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<? extends T> future)
Called upon completion of theAbstractSniHandler.lookup(ChannelHandlerContext, String)
Future
.protected void
SniHandler. onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<? extends SslContext> future)
protected abstract void
SslClientHelloHandler. onLookupComplete(ChannelHandlerContext ctx, Future<? extends T> future)
Called upon completion of theSslClientHelloHandler.lookup(ChannelHandlerContext, Buffer)
Future
.long
SslHandler. pendingOutboundBytes(ChannelHandlerContext ctx)
void
SslClientHelloHandler. read(ChannelHandlerContext ctx)
void
SslHandler. read(ChannelHandlerContext ctx)
protected void
SniHandler. replaceHandler(ChannelHandlerContext ctx, String hostname, SslContext sslContext)
The default implementation of this method will simply replacethis
SniHandler
instance 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 void
OcspClientHandler. channelInboundEvent(ChannelHandlerContext ctx, Object evt)
protected abstract boolean
OcspClientHandler. 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 void
ChunkedWriteHandler. channelInactive(ChannelHandlerContext ctx)
void
ChunkedWriteHandler. channelWritabilityChanged(ChannelHandlerContext ctx)
void
ChunkedWriteHandler. flush(ChannelHandlerContext ctx)
void
ChunkedWriteHandler. 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 void
IdleStateHandler. channelActive(ChannelHandlerContext ctx)
protected void
IdleStateHandler. channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt)
Is called when anIdleStateEvent
should be fired.protected void
ReadTimeoutHandler. channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt)
void
IdleStateHandler. channelInactive(ChannelHandlerContext ctx)
void
IdleStateHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
IdleStateHandler. channelReadComplete(ChannelHandlerContext ctx)
void
IdleStateHandler. channelRegistered(ChannelHandlerContext ctx)
void
IdleStateHandler. handlerAdded(ChannelHandlerContext ctx)
void
IdleStateHandler. handlerRemoved(ChannelHandlerContext ctx)
void
WriteTimeoutHandler. handlerRemoved(ChannelHandlerContext ctx)
protected void
ReadTimeoutHandler. 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 void
WriteTimeoutHandler. 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 void
AbstractTrafficShapingHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
GlobalChannelTrafficShapingHandler. channelRead(ChannelHandlerContext ctx, Object msg)
void
AbstractTrafficShapingHandler. channelRegistered(ChannelHandlerContext ctx)
protected long
GlobalChannelTrafficShapingHandler. checkWaitReadTime(ChannelHandlerContext ctx, long wait, long now)
void
ChannelTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)
void
GlobalChannelTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)
void
GlobalTrafficShapingHandler. handlerAdded(ChannelHandlerContext ctx)
void
AbstractTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)
void
ChannelTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)
void
GlobalChannelTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)
void
GlobalTrafficShapingHandler. handlerRemoved(ChannelHandlerContext ctx)
protected void
GlobalChannelTrafficShapingHandler. informReadOperation(ChannelHandlerContext ctx, long now)
protected static boolean
AbstractTrafficShapingHandler. isHandlerActive(ChannelHandlerContext ctx)
void
AbstractTrafficShapingHandler. read(ChannelHandlerContext ctx)
protected void
AbstractTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, Object msg, long delay, Promise<Void> promise)
Deprecated.protected void
GlobalChannelTrafficShapingHandler. 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)
-