A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptInboundMessage(Object) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- acceptInboundMessage(Object) - Method in class io.netty.handler.codec.MessageAggregator
- acceptInboundMessage(Object) - Method in class io.netty.handler.codec.MessageToMessageCodec
-
Returns
trueif and only if the specified message can be decoded by this codec. - acceptInboundMessage(Object) - Method in class io.netty.handler.codec.MessageToMessageDecoder
-
Returns
trueif the given message should be handled. - acceptOutboundMessage(Object) - Method in class io.netty.handler.codec.ByteToMessageCodec
-
Returns
trueif and only if the specified message can be encoded by this codec. - acceptOutboundMessage(Object) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- acceptOutboundMessage(Object) - Method in class io.netty.handler.codec.MessageToByteEncoder
-
Returns
trueif the given message should be handled. - acceptOutboundMessage(Object) - Method in class io.netty.handler.codec.MessageToMessageCodec
-
Returns
trueif and only if the specified message can be encoded by this codec. - acceptOutboundMessage(Object) - Method in class io.netty.handler.codec.MessageToMessageEncoder
-
Returns
trueif the given message should be handled. - actualReadableBytes() - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Returns the actual number of readable bytes in the internal cumulative buffer of this decoder.
- add(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.DefaultHeaders
- add(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.EmptyHeaders
- add(Headers<? extends K, ? extends V, ?>) - Method in interface io.netty.handler.codec.Headers
-
Adds all header names and values of
headersto this object. - add(K, Iterable<? extends V>) - Method in class io.netty.handler.codec.DefaultHeaders
- add(K, Iterable<? extends V>) - Method in class io.netty.handler.codec.EmptyHeaders
- add(K, Iterable<? extends V>) - Method in interface io.netty.handler.codec.Headers
-
Adds new headers with the specified
nameandvalues. - add(K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- add(K, V) - Method in class io.netty.handler.codec.EmptyHeaders
- add(K, V) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header with the specified
nameandvalue. - add(K, V...) - Method in class io.netty.handler.codec.DefaultHeaders
- add(K, V...) - Method in class io.netty.handler.codec.EmptyHeaders
- add(K, V...) - Method in interface io.netty.handler.codec.Headers
-
Adds new headers with the specified
nameandvalues. - addBoolean(K, boolean) - Method in class io.netty.handler.codec.DefaultHeaders
- addBoolean(K, boolean) - Method in class io.netty.handler.codec.EmptyHeaders
- addBoolean(K, boolean) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addByte(K, byte) - Method in class io.netty.handler.codec.DefaultHeaders
- addByte(K, byte) - Method in class io.netty.handler.codec.EmptyHeaders
- addByte(K, byte) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addChar(K, char) - Method in class io.netty.handler.codec.DefaultHeaders
- addChar(K, char) - Method in class io.netty.handler.codec.EmptyHeaders
- addChar(K, char) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addDouble(K, double) - Method in class io.netty.handler.codec.DefaultHeaders
- addDouble(K, double) - Method in class io.netty.handler.codec.EmptyHeaders
- addDouble(K, double) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addFloat(K, float) - Method in class io.netty.handler.codec.DefaultHeaders
- addFloat(K, float) - Method in class io.netty.handler.codec.EmptyHeaders
- addFloat(K, float) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addImpl(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.DefaultHeaders
- addInt(K, int) - Method in class io.netty.handler.codec.DefaultHeaders
- addInt(K, int) - Method in class io.netty.handler.codec.EmptyHeaders
- addInt(K, int) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addLong(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- addLong(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- addLong(K, long) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addObject(K, Iterable<?>) - Method in class io.netty.handler.codec.DefaultHeaders
- addObject(K, Iterable<?>) - Method in class io.netty.handler.codec.EmptyHeaders
- addObject(K, Iterable<?>) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header with the specified name and values.
- addObject(K, Object) - Method in class io.netty.handler.codec.DefaultHeaders
- addObject(K, Object) - Method in class io.netty.handler.codec.EmptyHeaders
- addObject(K, Object) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addObject(K, Object...) - Method in class io.netty.handler.codec.DefaultHeaders
- addObject(K, Object...) - Method in class io.netty.handler.codec.EmptyHeaders
- addObject(K, Object...) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header with the specified name and values.
- addShort(K, short) - Method in class io.netty.handler.codec.DefaultHeaders
- addShort(K, short) - Method in class io.netty.handler.codec.EmptyHeaders
- addShort(K, short) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- addTimeMillis(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- addTimeMillis(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- addTimeMillis(K, long) - Method in interface io.netty.handler.codec.Headers
-
Adds a new header.
- after - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
-
Overall insertion order linked list
- after() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- aggregate(O, C) - Method in class io.netty.handler.codec.MessageAggregator
-
Transfers the information provided by the specified content message to the specified aggregated message.
- allocateBuffer(ChannelHandlerContext, I, boolean) - Method in class io.netty.handler.codec.MessageToByteEncoder
-
Allocate a
ByteBufwhich will be used as argument of#encode(ChannelHandlerContext, I, ByteBuf). - append(Date, StringBuilder) - Static method in class io.netty.handler.codec.DateFormatter
-
Append a
Dateto aStringBuilderinto RFC1123 format - AsciiHeadersEncoder - Class in io.netty.handler.codec
- AsciiHeadersEncoder(ByteBuf) - Constructor for class io.netty.handler.codec.AsciiHeadersEncoder
- AsciiHeadersEncoder(ByteBuf, AsciiHeadersEncoder.SeparatorType, AsciiHeadersEncoder.NewlineType) - Constructor for class io.netty.handler.codec.AsciiHeadersEncoder
- AsciiHeadersEncoder.NewlineType - Enum in io.netty.handler.codec
-
The newline characters to insert between header entries.
- AsciiHeadersEncoder.SeparatorType - Enum in io.netty.handler.codec
-
The separator characters to insert between a header name and a header value.
- available() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
B
- Base64 - Class in io.netty.handler.codec.base64
-
Utility class for
ByteBufthat encodes and decodes to and from Base64 notation. - Base64Decoder - Class in io.netty.handler.codec.base64
- Base64Decoder() - Constructor for class io.netty.handler.codec.base64.Base64Decoder
- Base64Decoder(Base64Dialect) - Constructor for class io.netty.handler.codec.base64.Base64Decoder
- Base64Dialect - Enum in io.netty.handler.codec.base64
-
Enumeration of supported Base64 dialects.
- Base64Encoder - Class in io.netty.handler.codec.base64
-
Encodes a
ByteBufinto a Base64-encodedByteBuf. - Base64Encoder() - Constructor for class io.netty.handler.codec.base64.Base64Encoder
- Base64Encoder(boolean) - Constructor for class io.netty.handler.codec.base64.Base64Encoder
- Base64Encoder(boolean, Base64Dialect) - Constructor for class io.netty.handler.codec.base64.Base64Encoder
- before - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
-
Overall insertion order linked list
- before() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- beginAggregation(S, ByteBuf) - Method in class io.netty.handler.codec.MessageAggregator
-
Creates a new aggregated message from the specified start message and the specified content.
- bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- ByteArrayDecoder - Class in io.netty.handler.codec.bytes
-
Decodes a received
ByteBufinto an array of bytes. - ByteArrayDecoder() - Constructor for class io.netty.handler.codec.bytes.ByteArrayDecoder
- ByteArrayEncoder - Class in io.netty.handler.codec.bytes
-
Encodes the requested array of bytes into a
ByteBuf. - ByteArrayEncoder() - Constructor for class io.netty.handler.codec.bytes.ByteArrayEncoder
- ByteToMessageCodec<I> - Class in io.netty.handler.codec
-
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
- ByteToMessageCodec() - Constructor for class io.netty.handler.codec.ByteToMessageCodec
-
see
ByteToMessageCodec(boolean)withtrueas boolean parameter. - ByteToMessageCodec(boolean) - Constructor for class io.netty.handler.codec.ByteToMessageCodec
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- ByteToMessageCodec(Class<? extends I>) - Constructor for class io.netty.handler.codec.ByteToMessageCodec
-
see
ByteToMessageCodec(Class, boolean)withtrueas boolean value. - ByteToMessageCodec(Class<? extends I>, boolean) - Constructor for class io.netty.handler.codec.ByteToMessageCodec
-
Create a new instance
- ByteToMessageDecoder - Class in io.netty.handler.codec
-
ChannelInboundHandlerAdapterwhich decodes bytes in a stream-like fashion from oneByteBufto an other Message type. - ByteToMessageDecoder() - Constructor for class io.netty.handler.codec.ByteToMessageDecoder
- ByteToMessageDecoder.Cumulator - Interface in io.netty.handler.codec
-
Cumulate
ByteBufs.
C
- cacheDisabled(ClassLoader) - Static method in class io.netty.handler.codec.serialization.ClassResolvers
-
Deprecated.cache disabled
- callDecode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Called once data should be decoded from the given
ByteBuf. - callDecode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ReplayingDecoder
- cause() - Method in class io.netty.handler.codec.DecoderResult
- channelActive(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageCodec
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageDecoder
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageAggregator
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.ByteToMessageCodec
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.ByteToMessageDecoder
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.MessageToMessageCodec
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.MessageToMessageDecoder
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageCodec
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageDecoder
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageAggregator
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageToMessageCodec
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageToMessageDecoder
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- channelUnregistered(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- channelWritabilityChanged(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- CharSequenceValueConverter - Class in io.netty.handler.codec
-
Converts to/from native types, general
Object, andCharSequences. - CharSequenceValueConverter() - Constructor for class io.netty.handler.codec.CharSequenceValueConverter
- checkpoint() - Method in class io.netty.handler.codec.ReplayingDecoder
-
Stores the internal cumulative buffer's reader position.
- checkpoint(S) - Method in class io.netty.handler.codec.ReplayingDecoder
-
Stores the internal cumulative buffer's reader position and updates the current decoder state.
- ClassResolver - Interface in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- ClassResolvers - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- clear() - Method in class io.netty.handler.codec.DefaultHeaders
- clear() - Method in class io.netty.handler.codec.EmptyHeaders
- clear() - Method in interface io.netty.handler.codec.Headers
-
Removes all headers.
- close() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- close() - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- closeAfterContinueResponse(Object) - Method in class io.netty.handler.codec.MessageAggregator
-
Determine if the channel should be closed after the result of
MessageAggregator.newContinueResponse(Object, int, ChannelPipeline)is written. - CodecException - Exception in io.netty.handler.codec
-
An
Exceptionwhich is thrown by a codec. - CodecException() - Constructor for exception io.netty.handler.codec.CodecException
-
Creates a new instance.
- CodecException(String) - Constructor for exception io.netty.handler.codec.CodecException
-
Creates a new instance.
- CodecException(String, Throwable) - Constructor for exception io.netty.handler.codec.CodecException
-
Creates a new instance.
- CodecException(Throwable) - Constructor for exception io.netty.handler.codec.CodecException
-
Creates a new instance.
- COLON - io.netty.handler.codec.AsciiHeadersEncoder.SeparatorType
-
':' - COLON_SPACE - io.netty.handler.codec.AsciiHeadersEncoder.SeparatorType
-
': ' - CompatibleObjectEncoder - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- CompatibleObjectEncoder() - Constructor for class io.netty.handler.codec.serialization.CompatibleObjectEncoder
-
Deprecated.Creates a new instance with the reset interval of
16. - CompatibleObjectEncoder(int) - Constructor for class io.netty.handler.codec.serialization.CompatibleObjectEncoder
-
Deprecated.Creates a new instance.
- COMPOSITE_CUMULATOR - Static variable in class io.netty.handler.codec.ByteToMessageDecoder
-
Cumulate
ByteBufs by add them to aCompositeByteBufand so do no memory copy whenever possible. - connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- contains(K) - Method in class io.netty.handler.codec.DefaultHeaders
- contains(K) - Method in class io.netty.handler.codec.EmptyHeaders
- contains(K) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with thenameexists,falseotherwise. - contains(K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- contains(K, V) - Method in class io.netty.handler.codec.EmptyHeaders
- contains(K, V) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with thenameandvalueexists,falseotherwise. - contains(K, V, HashingStrategy<? super V>) - Method in class io.netty.handler.codec.DefaultHeaders
- containsBoolean(K, boolean) - Method in class io.netty.handler.codec.DefaultHeaders
- containsBoolean(K, boolean) - Method in class io.netty.handler.codec.EmptyHeaders
- containsBoolean(K, boolean) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsByte(K, byte) - Method in class io.netty.handler.codec.DefaultHeaders
- containsByte(K, byte) - Method in class io.netty.handler.codec.EmptyHeaders
- containsByte(K, byte) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsChar(K, char) - Method in class io.netty.handler.codec.DefaultHeaders
- containsChar(K, char) - Method in class io.netty.handler.codec.EmptyHeaders
- containsChar(K, char) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsDouble(K, double) - Method in class io.netty.handler.codec.DefaultHeaders
- containsDouble(K, double) - Method in class io.netty.handler.codec.EmptyHeaders
- containsDouble(K, double) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsFloat(K, float) - Method in class io.netty.handler.codec.DefaultHeaders
- containsFloat(K, float) - Method in class io.netty.handler.codec.EmptyHeaders
- containsFloat(K, float) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsInt(K, int) - Method in class io.netty.handler.codec.DefaultHeaders
- containsInt(K, int) - Method in class io.netty.handler.codec.EmptyHeaders
- containsInt(K, int) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsLong(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- containsLong(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- containsLong(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsObject(K, Object) - Method in class io.netty.handler.codec.DefaultHeaders
- containsObject(K, Object) - Method in class io.netty.handler.codec.EmptyHeaders
- containsObject(K, Object) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsShort(K, short) - Method in class io.netty.handler.codec.DefaultHeaders
- containsShort(K, short) - Method in class io.netty.handler.codec.EmptyHeaders
- containsShort(K, short) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - containsTimeMillis(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- containsTimeMillis(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- containsTimeMillis(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns
trueif a header with the name and value exists. - convertBoolean(boolean) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertBoolean(boolean) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertBoolean(boolean) - Method in interface io.netty.handler.codec.ValueConverter
- convertByte(byte) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertByte(byte) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertByte(byte) - Method in interface io.netty.handler.codec.ValueConverter
- convertChar(char) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertChar(char) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertChar(char) - Method in interface io.netty.handler.codec.ValueConverter
- convertDouble(double) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertDouble(double) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertDouble(double) - Method in interface io.netty.handler.codec.ValueConverter
- convertFloat(float) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertFloat(float) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertFloat(float) - Method in interface io.netty.handler.codec.ValueConverter
- convertInt(int) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertInt(int) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertInt(int) - Method in interface io.netty.handler.codec.ValueConverter
- convertLong(long) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertLong(long) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertLong(long) - Method in interface io.netty.handler.codec.ValueConverter
- convertObject(Object) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertObject(Object) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertObject(Object) - Method in interface io.netty.handler.codec.ValueConverter
- convertShort(short) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertShort(short) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertShort(short) - Method in interface io.netty.handler.codec.ValueConverter
- convertTimeMillis(long) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertTimeMillis(long) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertTimeMillis(long) - Method in interface io.netty.handler.codec.ValueConverter
- convertToBoolean(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToBoolean(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToBoolean(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToByte(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToByte(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToByte(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToChar(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToChar(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToChar(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToDouble(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToDouble(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToDouble(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToFloat(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToFloat(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToFloat(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToInt(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToInt(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToInt(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToLong(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToLong(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToLong(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToShort(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToShort(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToShort(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- convertToTimeMillis(CharSequence) - Method in class io.netty.handler.codec.CharSequenceValueConverter
- convertToTimeMillis(T) - Method in interface io.netty.handler.codec.ValueConverter
- convertToTimeMillis(V) - Method in class io.netty.handler.codec.UnsupportedValueConverter
- copy() - Method in class io.netty.handler.codec.DefaultHeaders
-
Returns a deep copy of this instance.
- CorruptedFrameException - Exception in io.netty.handler.codec
-
An
DecoderExceptionwhich is thrown when the received frame data could not be decoded by an inbound handler. - CorruptedFrameException() - Constructor for exception io.netty.handler.codec.CorruptedFrameException
-
Creates a new instance.
- CorruptedFrameException(String) - Constructor for exception io.netty.handler.codec.CorruptedFrameException
-
Creates a new instance.
- CorruptedFrameException(String, Throwable) - Constructor for exception io.netty.handler.codec.CorruptedFrameException
-
Creates a new instance.
- CorruptedFrameException(Throwable) - Constructor for exception io.netty.handler.codec.CorruptedFrameException
-
Creates a new instance.
- CRLF - io.netty.handler.codec.AsciiHeadersEncoder.NewlineType
-
'\r\n' - ctx() - Method in class io.netty.handler.codec.MessageAggregator
- cumulate(ByteBufAllocator, ByteBuf, ByteBuf) - Method in interface io.netty.handler.codec.ByteToMessageDecoder.Cumulator
-
Cumulate the given
ByteBufs and return theByteBufthat holds the cumulated bytes.
D
- DatagramPacketDecoder - Class in io.netty.handler.codec
-
A decoder that decodes the content of the received
DatagramPacketusing the specifiedByteBufdecoder. - DatagramPacketDecoder(MessageToMessageDecoder<ByteBuf>) - Constructor for class io.netty.handler.codec.DatagramPacketDecoder
-
Create a
DatagramPacketdecoder using the specifiedByteBufdecoder. - DatagramPacketEncoder<M> - Class in io.netty.handler.codec
-
An encoder that encodes the content in
AddressedEnvelopetoDatagramPacketusing the specified message encoder. - DatagramPacketEncoder(MessageToMessageEncoder<? super M>) - Constructor for class io.netty.handler.codec.DatagramPacketEncoder
-
Create an encoder that encodes the content in
AddressedEnvelopetoDatagramPacketusing the specified message encoder. - DateFormatter - Class in io.netty.handler.codec
-
A formatter for HTTP header dates, such as "Expires" and "Date" headers, or "expires" field in "Set-Cookie".
- decode(ByteBuf) - Static method in class io.netty.handler.codec.base64.Base64
- decode(ByteBuf, int, int) - Static method in class io.netty.handler.codec.base64.Base64
- decode(ByteBuf, int, int, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- decode(ByteBuf, int, int, Base64Dialect, ByteBufAllocator) - Static method in class io.netty.handler.codec.base64.Base64
- decode(ByteBuf, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- decode(ChannelHandlerContext, INBOUND_IN, List<Object>) - Method in class io.netty.handler.codec.MessageToMessageCodec
- decode(ChannelHandlerContext, ByteBuf) - Method in class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Create a frame out of the
ByteBufand return it. - decode(ChannelHandlerContext, ByteBuf) - Method in class io.netty.handler.codec.FixedLengthFrameDecoder
-
Create a frame out of the
ByteBufand return it. - decode(ChannelHandlerContext, ByteBuf) - Method in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Create a frame out of the
ByteBufand return it. - decode(ChannelHandlerContext, ByteBuf) - Method in class io.netty.handler.codec.LineBasedFrameDecoder
-
Create a frame out of the
ByteBufand return it. - decode(ChannelHandlerContext, ByteBuf) - Method in class io.netty.handler.codec.serialization.ObjectDecoder
-
Deprecated.
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.base64.Base64Decoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.bytes.ByteArrayDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ByteToMessageCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Decode the from one
ByteBufto an other. - decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.DelimiterBasedFrameDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.FixedLengthFrameDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.json.JsonObjectDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.LineBasedFrameDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.string.StringDecoder
- decode(ChannelHandlerContext, DatagramPacket, List<Object>) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- decode(ChannelHandlerContext, I, List<Object>) - Method in class io.netty.handler.codec.MessageAggregator
- decode(ChannelHandlerContext, I, List<Object>) - Method in class io.netty.handler.codec.MessageToMessageDecoder
-
Decode from one message to an other.
- decodeLast(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ByteToMessageCodec
- decodeLast(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Is called one last time when the
ChannelHandlerContextgoes in-active. - DecoderException - Exception in io.netty.handler.codec
-
An
CodecExceptionwhich is thrown by a decoder. - DecoderException() - Constructor for exception io.netty.handler.codec.DecoderException
-
Creates a new instance.
- DecoderException(String) - Constructor for exception io.netty.handler.codec.DecoderException
-
Creates a new instance.
- DecoderException(String, Throwable) - Constructor for exception io.netty.handler.codec.DecoderException
-
Creates a new instance.
- DecoderException(Throwable) - Constructor for exception io.netty.handler.codec.DecoderException
-
Creates a new instance.
- decoderResult() - Method in interface io.netty.handler.codec.DecoderResultProvider
-
Returns the result of decoding this object.
- DecoderResult - Class in io.netty.handler.codec
- DecoderResult(Throwable) - Constructor for class io.netty.handler.codec.DecoderResult
- DecoderResultProvider - Interface in io.netty.handler.codec
-
Provides the accessor methods for the
DecoderResultproperty of a decoded message. - DEFAULT - Static variable in class io.netty.handler.codec.string.LineSeparator
-
The default line separator in the current system.
- DefaultHeaders<K,V,T extends Headers<K,V,T>> - Class in io.netty.handler.codec
-
Default implementation of
Headers; - DefaultHeaders(ValueConverter<V>) - Constructor for class io.netty.handler.codec.DefaultHeaders
- DefaultHeaders(ValueConverter<V>, DefaultHeaders.NameValidator<K>) - Constructor for class io.netty.handler.codec.DefaultHeaders
- DefaultHeaders(HashingStrategy<K>, ValueConverter<V>) - Constructor for class io.netty.handler.codec.DefaultHeaders
- DefaultHeaders(HashingStrategy<K>, ValueConverter<V>, DefaultHeaders.NameValidator<K>) - Constructor for class io.netty.handler.codec.DefaultHeaders
- DefaultHeaders(HashingStrategy<K>, ValueConverter<V>, DefaultHeaders.NameValidator<K>, int) - Constructor for class io.netty.handler.codec.DefaultHeaders
-
Create a new instance.
- DefaultHeaders(HashingStrategy<K>, ValueConverter<V>, DefaultHeaders.NameValidator<K>, int, DefaultHeaders.ValueValidator<V>) - Constructor for class io.netty.handler.codec.DefaultHeaders
-
Create a new instance.
- DefaultHeaders.HeaderEntry<K,V> - Class in io.netty.handler.codec
- DefaultHeaders.NameValidator<K> - Interface in io.netty.handler.codec
- DefaultHeaders.ValueValidator<V> - Interface in io.netty.handler.codec
- DefaultHeadersImpl<K,V> - Class in io.netty.handler.codec
-
A concrete implementation of
DefaultHeadersthat allows for direct instantiation. - DefaultHeadersImpl(HashingStrategy<K>, ValueConverter<V>, DefaultHeaders.NameValidator<K>) - Constructor for class io.netty.handler.codec.DefaultHeadersImpl
- DefaultHeadersImpl(HashingStrategy<K>, ValueConverter<V>, DefaultHeaders.NameValidator<K>, int, DefaultHeaders.ValueValidator<V>) - Constructor for class io.netty.handler.codec.DefaultHeadersImpl
- DelimiterBasedFrameDecoder - Class in io.netty.handler.codec
-
A decoder that splits the received
ByteBufs by one or more delimiters. - DelimiterBasedFrameDecoder(int, boolean, boolean, ByteBuf) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- DelimiterBasedFrameDecoder(int, boolean, boolean, ByteBuf...) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- DelimiterBasedFrameDecoder(int, boolean, ByteBuf) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- DelimiterBasedFrameDecoder(int, boolean, ByteBuf...) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- DelimiterBasedFrameDecoder(int, ByteBuf) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- DelimiterBasedFrameDecoder(int, ByteBuf...) - Constructor for class io.netty.handler.codec.DelimiterBasedFrameDecoder
-
Creates a new instance.
- Delimiters - Class in io.netty.handler.codec
-
A set of commonly used delimiters for
DelimiterBasedFrameDecoder. - deregister(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- detected(T) - Static method in class io.netty.handler.codec.ProtocolDetectionResult
-
Returns a
ProtocolDetectionResultwhich holds the detected protocol. - DETECTED - io.netty.handler.codec.ProtocolDetectionState
-
Protocol was detected,
- detectedProtocol() - Method in class io.netty.handler.codec.ProtocolDetectionResult
-
Returns the protocol if
ProtocolDetectionResult.state()returnsProtocolDetectionState.DETECTED, otherwisenull. - discardSomeReadBytes() - Method in class io.netty.handler.codec.ByteToMessageDecoder
- disconnect(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.codec.DatagramPacketEncoder
E
- EmptyHeaders<K,V,T extends Headers<K,V,T>> - Class in io.netty.handler.codec
- EmptyHeaders() - Constructor for class io.netty.handler.codec.EmptyHeaders
- encode(ByteBuf) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, boolean) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, boolean, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, int, int) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, int, int, boolean) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, int, int, boolean, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, int, int, boolean, Base64Dialect, ByteBufAllocator) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, int, int, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ByteBuf, Base64Dialect) - Static method in class io.netty.handler.codec.base64.Base64
- encode(ChannelHandlerContext, byte[], List<Object>) - Method in class io.netty.handler.codec.bytes.ByteArrayEncoder
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.base64.Base64Encoder
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.netty.handler.codec.LengthFieldPrepender
- encode(ChannelHandlerContext, AddressedEnvelope<M, InetSocketAddress>, List<Object>) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- encode(ChannelHandlerContext, I, ByteBuf) - Method in class io.netty.handler.codec.ByteToMessageCodec
- encode(ChannelHandlerContext, I, ByteBuf) - Method in class io.netty.handler.codec.MessageToByteEncoder
-
Encode a message into a
ByteBuf. - encode(ChannelHandlerContext, I, List<Object>) - Method in class io.netty.handler.codec.MessageToMessageEncoder
-
Encode from one message to an other.
- encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class io.netty.handler.codec.serialization.CompatibleObjectEncoder
-
Deprecated.
- encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class io.netty.handler.codec.serialization.ObjectEncoder
-
Deprecated.
- encode(ChannelHandlerContext, CharSequence, List<Object>) - Method in class io.netty.handler.codec.string.LineEncoder
- encode(ChannelHandlerContext, CharSequence, List<Object>) - Method in class io.netty.handler.codec.string.StringEncoder
- encode(ChannelHandlerContext, OUTBOUND_IN, List<Object>) - Method in class io.netty.handler.codec.MessageToMessageCodec
- encode(Map.Entry<CharSequence, CharSequence>) - Method in class io.netty.handler.codec.AsciiHeadersEncoder
- EncoderException - Exception in io.netty.handler.codec
-
An
CodecExceptionwhich is thrown by an encoder. - EncoderException() - Constructor for exception io.netty.handler.codec.EncoderException
-
Creates a new instance.
- EncoderException(String) - Constructor for exception io.netty.handler.codec.EncoderException
-
Creates a new instance.
- EncoderException(String, Throwable) - Constructor for exception io.netty.handler.codec.EncoderException
-
Creates a new instance.
- EncoderException(Throwable) - Constructor for exception io.netty.handler.codec.EncoderException
-
Creates a new instance.
- equals(Headers<K, V, ?>, HashingStrategy<V>) - Method in class io.netty.handler.codec.DefaultHeaders
-
Test this object for equality against
h2. - equals(Object) - Method in class io.netty.handler.codec.DefaultHeaders
- equals(Object) - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- equals(Object) - Method in class io.netty.handler.codec.EmptyHeaders
- equals(Object) - Method in class io.netty.handler.codec.string.LineSeparator
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- extractFrame(ChannelHandlerContext, ByteBuf, int, int) - Method in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Extract the sub-region of the specified buffer.
- extractObject(ChannelHandlerContext, ByteBuf, int, int) - Method in class io.netty.handler.codec.json.JsonObjectDecoder
-
Override this method if you want to filter the json objects/arrays that get passed through the pipeline.
F
- failure(Throwable) - Static method in class io.netty.handler.codec.DecoderResult
- finishAggregation(O) - Method in class io.netty.handler.codec.MessageAggregator
-
Invoked when the specified
aggregatedmessage is about to be passed to the next handler in the pipeline. - FixedLengthFrameDecoder - Class in io.netty.handler.codec
-
A decoder that splits the received
ByteBufs by the fixed number of bytes. - FixedLengthFrameDecoder(int) - Constructor for class io.netty.handler.codec.FixedLengthFrameDecoder
-
Creates a new instance.
- flush() - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- flush(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- format(Date) - Static method in class io.netty.handler.codec.DateFormatter
-
Format a
Dateinto RFC1123 format
G
- get(K) - Method in class io.netty.handler.codec.DefaultHeaders
- get(K) - Method in class io.netty.handler.codec.EmptyHeaders
- get(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name.
- get(K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- get(K, V) - Method in class io.netty.handler.codec.EmptyHeaders
- get(K, V) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name.
- getAll(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getAll(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getAll(K) - Method in interface io.netty.handler.codec.Headers
-
Returns all values for the header with the specified name.
- getAllAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getAllAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getAllAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns all values for the header with the specified name and removes them from this object.
- getAllAsString(Headers<K, V, ?>, K) - Static method in class io.netty.handler.codec.HeadersUtils
- getAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name and removes it from this object.
- getAndRemove(K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- getAndRemove(K, V) - Method in class io.netty.handler.codec.EmptyHeaders
- getAndRemove(K, V) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name and removes it from this object.
- getAsString(Headers<K, V, ?>, K) - Static method in class io.netty.handler.codec.HeadersUtils
-
Headers.get(Object)and convert the result to aString. - getBoolean(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getBoolean(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getBoolean(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
booleanvalue of a header with the specified name. - getBoolean(K, boolean) - Method in class io.netty.handler.codec.DefaultHeaders
- getBoolean(K, boolean) - Method in class io.netty.handler.codec.EmptyHeaders
- getBoolean(K, boolean) - Method in interface io.netty.handler.codec.Headers
-
Returns the
booleanvalue of a header with the specified name. - getBooleanAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getBooleanAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getBooleanAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
booleanvalue of a header with the specifiednameand removes the header from this object. - getBooleanAndRemove(K, boolean) - Method in class io.netty.handler.codec.DefaultHeaders
- getBooleanAndRemove(K, boolean) - Method in class io.netty.handler.codec.EmptyHeaders
- getBooleanAndRemove(K, boolean) - Method in interface io.netty.handler.codec.Headers
-
Returns the
booleanvalue of a header with the specifiednameand removes the header from this object. - getByte(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getByte(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getByte(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
bytevalue of a header with the specified name. - getByte(K, byte) - Method in class io.netty.handler.codec.DefaultHeaders
- getByte(K, byte) - Method in class io.netty.handler.codec.EmptyHeaders
- getByte(K, byte) - Method in interface io.netty.handler.codec.Headers
-
Returns the
bytevalue of a header with the specified name. - getByteAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getByteAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getByteAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
bytevalue of a header with the specifiednameand removes the header from this object. - getByteAndRemove(K, byte) - Method in class io.netty.handler.codec.DefaultHeaders
- getByteAndRemove(K, byte) - Method in class io.netty.handler.codec.EmptyHeaders
- getByteAndRemove(K, byte) - Method in interface io.netty.handler.codec.Headers
-
Returns the
bytevalue of a header with the specifiednameand removes the header from this object. - getChar(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getChar(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getChar(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
charvalue of a header with the specified name. - getChar(K, char) - Method in class io.netty.handler.codec.DefaultHeaders
- getChar(K, char) - Method in class io.netty.handler.codec.EmptyHeaders
- getChar(K, char) - Method in interface io.netty.handler.codec.Headers
-
Returns the
charvalue of a header with the specified name. - getCharAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getCharAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getCharAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
charvalue of a header with the specifiednameand removes the header from this object. - getCharAndRemove(K, char) - Method in class io.netty.handler.codec.DefaultHeaders
- getCharAndRemove(K, char) - Method in class io.netty.handler.codec.EmptyHeaders
- getCharAndRemove(K, char) - Method in interface io.netty.handler.codec.Headers
-
Returns the
charvalue of a header with the specifiednameand removes the header from this object. - getDouble(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getDouble(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getDouble(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
doublevalue of a header with the specified name. - getDouble(K, double) - Method in class io.netty.handler.codec.DefaultHeaders
- getDouble(K, double) - Method in class io.netty.handler.codec.EmptyHeaders
- getDouble(K, double) - Method in interface io.netty.handler.codec.Headers
-
Returns the
doublevalue of a header with the specified name. - getDoubleAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getDoubleAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getDoubleAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
doublevalue of a header with the specifiednameand removes the header from this object. - getDoubleAndRemove(K, double) - Method in class io.netty.handler.codec.DefaultHeaders
- getDoubleAndRemove(K, double) - Method in class io.netty.handler.codec.EmptyHeaders
- getDoubleAndRemove(K, double) - Method in interface io.netty.handler.codec.Headers
-
Returns the
doublevalue of a header with the specifiednameand removes the header from this object. - getFloat(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getFloat(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getFloat(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
floatvalue of a header with the specified name. - getFloat(K, float) - Method in class io.netty.handler.codec.DefaultHeaders
- getFloat(K, float) - Method in class io.netty.handler.codec.EmptyHeaders
- getFloat(K, float) - Method in interface io.netty.handler.codec.Headers
-
Returns the
floatvalue of a header with the specified name. - getFloatAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getFloatAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getFloatAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
floatvalue of a header with the specifiednameand removes the header from this object. - getFloatAndRemove(K, float) - Method in class io.netty.handler.codec.DefaultHeaders
- getFloatAndRemove(K, float) - Method in class io.netty.handler.codec.EmptyHeaders
- getFloatAndRemove(K, float) - Method in interface io.netty.handler.codec.Headers
-
Returns the
floatvalue of a header with the specifiednameand removes the header from this object. - getInt(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getInt(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getInt(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
intvalue of a header with the specified name. - getInt(K, int) - Method in class io.netty.handler.codec.DefaultHeaders
- getInt(K, int) - Method in class io.netty.handler.codec.EmptyHeaders
- getInt(K, int) - Method in interface io.netty.handler.codec.Headers
-
Returns the
intvalue of a header with the specified name. - getIntAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getIntAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getIntAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
intvalue of a header with the specifiednameand removes the header from this object. - getIntAndRemove(K, int) - Method in class io.netty.handler.codec.DefaultHeaders
- getIntAndRemove(K, int) - Method in class io.netty.handler.codec.EmptyHeaders
- getIntAndRemove(K, int) - Method in interface io.netty.handler.codec.Headers
-
Returns the
intvalue of a header with the specifiednameand removes the header from this object. - getKey() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- getLong(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getLong(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getLong(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
longvalue of a header with the specified name. - getLong(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- getLong(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- getLong(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns the
longvalue of a header with the specified name. - getLongAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getLongAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getLongAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
longvalue of a header with the specifiednameand removes the header from this object. - getLongAndRemove(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- getLongAndRemove(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- getLongAndRemove(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns the
longvalue of a header with the specifiednameand removes the header from this object. - getShort(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getShort(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getShort(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
shortvalue of a header with the specified name. - getShort(K, short) - Method in class io.netty.handler.codec.DefaultHeaders
- getShort(K, short) - Method in class io.netty.handler.codec.EmptyHeaders
- getShort(K, short) - Method in interface io.netty.handler.codec.Headers
-
Returns the
shortvalue of a header with the specified name. - getShortAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getShortAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getShortAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the
shortvalue of a header with the specifiednameand removes the header from this object. - getShortAndRemove(K, short) - Method in class io.netty.handler.codec.DefaultHeaders
- getShortAndRemove(K, short) - Method in class io.netty.handler.codec.EmptyHeaders
- getShortAndRemove(K, short) - Method in interface io.netty.handler.codec.Headers
-
Returns the
shortvalue of a header with the specifiednameand removes the header from this object. - getTimeMillis(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getTimeMillis(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getTimeMillis(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name in milliseconds.
- getTimeMillis(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- getTimeMillis(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- getTimeMillis(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified name in milliseconds.
- getTimeMillisAndRemove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- getTimeMillisAndRemove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- getTimeMillisAndRemove(K) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified
namein milliseconds and removes the header from this object. - getTimeMillisAndRemove(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- getTimeMillisAndRemove(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- getTimeMillisAndRemove(K, long) - Method in interface io.netty.handler.codec.Headers
-
Returns the value of a header with the specified
namein milliseconds and removes the header from this object. - getUnadjustedFrameLength(ByteBuf, int, int, ByteOrder) - Method in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Decodes the specified region of the buffer into an unadjusted frame length.
- getValue() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
H
- handleOversizedMessage(ChannelHandlerContext, S) - Method in class io.netty.handler.codec.MessageAggregator
-
Invoked when an incoming request exceeds the maximum content length.
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageCodec
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageAggregator
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageCodec
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageDecoder
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketDecoder
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.handler.codec.MessageAggregator
- handlerRemoved0(ChannelHandlerContext) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Gets called after the
ByteToMessageDecoderwas removed from the actual context and it doesn't handle events anymore. - hash - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- hashCode() - Method in class io.netty.handler.codec.DefaultHeaders
- hashCode() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- hashCode() - Method in class io.netty.handler.codec.EmptyHeaders
- hashCode() - Method in class io.netty.handler.codec.string.LineSeparator
- hashCode(HashingStrategy<V>) - Method in class io.netty.handler.codec.DefaultHeaders
-
Generate a hash code for this object given a
HashingStrategyto generate hash codes for individual values. - head - Variable in class io.netty.handler.codec.DefaultHeaders
- HeaderEntry(int, K) - Constructor for class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- Headers<K,V,T extends Headers<K,V,T>> - Interface in io.netty.handler.codec
-
Common interface for
Headerswhich represents a mapping of key to value. - HeadersUtils - Class in io.netty.handler.codec
-
Provides utility methods related to
Headers.
I
- ignoreContentAfterContinueResponse(Object) - Method in class io.netty.handler.codec.MessageAggregator
-
Determine if all objects for the current request/response should be ignored or not.
- instance() - Static method in class io.netty.handler.codec.UnsupportedValueConverter
- INSTANCE - Static variable in class io.netty.handler.codec.CharSequenceValueConverter
- internalBuffer() - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Returns the internal cumulative buffer of this decoder.
- invalid() - Static method in class io.netty.handler.codec.ProtocolDetectionResult
-
Returns a
ProtocolDetectionResultthat signals the data was invalid for the protocol. - INVALID - io.netty.handler.codec.ProtocolDetectionState
-
The data was invalid.
- io.netty.handler.codec - package io.netty.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.netty.handler.codec.base64 - package io.netty.handler.codec.base64
- io.netty.handler.codec.bytes - package io.netty.handler.codec.bytes
-
Encoder and decoder which transform an array of bytes into a
ByteBufand vice versa. - io.netty.handler.codec.json - package io.netty.handler.codec.json
-
JSON specific codecs.
- io.netty.handler.codec.serialization - package io.netty.handler.codec.serialization
-
Encoder, decoder and their compatibility stream implementations which transform a
Serializableobject into a byte buffer and vice versa. - io.netty.handler.codec.string - package io.netty.handler.codec.string
-
Encoder and decoder which transform a
Stringinto aByteBufand vice versa. - isAggregated(I) - Method in class io.netty.handler.codec.MessageAggregator
-
Returns
trueif and only if the specified message is already aggregated. - isContentLengthInvalid(S, int) - Method in class io.netty.handler.codec.MessageAggregator
-
Determine if the message
start's content length is known, and if it greater thanmaxContentLength. - isContentMessage(I) - Method in class io.netty.handler.codec.MessageAggregator
-
Returns
trueif and only if the specified message is a content message. - isEmpty() - Method in class io.netty.handler.codec.DefaultHeaders
- isEmpty() - Method in class io.netty.handler.codec.EmptyHeaders
- isEmpty() - Method in interface io.netty.handler.codec.Headers
- isFailure() - Method in class io.netty.handler.codec.DecoderResult
- isFinished() - Method in class io.netty.handler.codec.DecoderResult
- isHandlingOversizedMessage() - Method in class io.netty.handler.codec.MessageAggregator
-
Deprecated.This method will be removed in future releases.
- isLastContentMessage(C) - Method in class io.netty.handler.codec.MessageAggregator
-
Returns
trueif and only if the specified message is the last content message. - isPreferDirect() - Method in class io.netty.handler.codec.MessageToByteEncoder
- isSharable() - Method in class io.netty.handler.codec.DatagramPacketDecoder
- isSharable() - Method in class io.netty.handler.codec.DatagramPacketEncoder
- isSingleDecode() - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
If
truethen only one message is decoded on eachByteToMessageDecoder.channelRead(ChannelHandlerContext, Object)call. - isStartMessage(I) - Method in class io.netty.handler.codec.MessageAggregator
-
Returns
trueif and only if the specified message is a start message. - isSuccess() - Method in class io.netty.handler.codec.DecoderResult
- iterator() - Method in class io.netty.handler.codec.DefaultHeaders
- iterator() - Method in class io.netty.handler.codec.EmptyHeaders
- iterator() - Method in interface io.netty.handler.codec.Headers
- iteratorAsString(Iterable<Map.Entry<CharSequence, CharSequence>>) - Static method in class io.netty.handler.codec.HeadersUtils
J
- JsonObjectDecoder - Class in io.netty.handler.codec.json
-
Splits a byte stream of JSON objects and arrays into individual objects/arrays and passes them up the
ChannelPipeline. - JsonObjectDecoder() - Constructor for class io.netty.handler.codec.json.JsonObjectDecoder
- JsonObjectDecoder(boolean) - Constructor for class io.netty.handler.codec.json.JsonObjectDecoder
- JsonObjectDecoder(int) - Constructor for class io.netty.handler.codec.json.JsonObjectDecoder
- JsonObjectDecoder(int, boolean) - Constructor for class io.netty.handler.codec.json.JsonObjectDecoder
K
- key - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
L
- LengthFieldBasedFrameDecoder - Class in io.netty.handler.codec
-
A decoder that splits the received
ByteBufs dynamically by the value of the length field in the message. - LengthFieldBasedFrameDecoder(int, int, int) - Constructor for class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Creates a new instance.
- LengthFieldBasedFrameDecoder(int, int, int, int, int) - Constructor for class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Creates a new instance.
- LengthFieldBasedFrameDecoder(int, int, int, int, int, boolean) - Constructor for class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Creates a new instance.
- LengthFieldBasedFrameDecoder(ByteOrder, int, int, int, int, int, boolean) - Constructor for class io.netty.handler.codec.LengthFieldBasedFrameDecoder
-
Creates a new instance.
- LengthFieldPrepender - Class in io.netty.handler.codec
-
An encoder that prepends the length of the message.
- LengthFieldPrepender(int) - Constructor for class io.netty.handler.codec.LengthFieldPrepender
-
Creates a new instance.
- LengthFieldPrepender(int, boolean) - Constructor for class io.netty.handler.codec.LengthFieldPrepender
-
Creates a new instance.
- LengthFieldPrepender(int, int) - Constructor for class io.netty.handler.codec.LengthFieldPrepender
-
Creates a new instance.
- LengthFieldPrepender(int, int, boolean) - Constructor for class io.netty.handler.codec.LengthFieldPrepender
-
Creates a new instance.
- LengthFieldPrepender(ByteOrder, int, int, boolean) - Constructor for class io.netty.handler.codec.LengthFieldPrepender
-
Creates a new instance.
- LF - io.netty.handler.codec.AsciiHeadersEncoder.NewlineType
-
'\n' - LineBasedFrameDecoder - Class in io.netty.handler.codec
-
A decoder that splits the received
ByteBufs on line endings. - LineBasedFrameDecoder(int) - Constructor for class io.netty.handler.codec.LineBasedFrameDecoder
-
Creates a new decoder.
- LineBasedFrameDecoder(int, boolean, boolean) - Constructor for class io.netty.handler.codec.LineBasedFrameDecoder
-
Creates a new decoder.
- lineDelimiter() - Static method in class io.netty.handler.codec.Delimiters
-
Returns
CR ('\r')andLF ('\n')delimiters, which could be used for text-based line protocols. - LineEncoder - Class in io.netty.handler.codec.string
-
Apply a line separator to the requested
Stringand encode it into aByteBuf. - LineEncoder() - Constructor for class io.netty.handler.codec.string.LineEncoder
-
Creates a new instance with the current system line separator and UTF-8 charset encoding.
- LineEncoder(LineSeparator) - Constructor for class io.netty.handler.codec.string.LineEncoder
-
Creates a new instance with the specified line separator and UTF-8 charset encoding.
- LineEncoder(LineSeparator, Charset) - Constructor for class io.netty.handler.codec.string.LineEncoder
-
Creates a new instance with the specified line separator and character set.
- LineEncoder(Charset) - Constructor for class io.netty.handler.codec.string.LineEncoder
-
Creates a new instance with the specified character set.
- LineSeparator - Class in io.netty.handler.codec.string
-
A class to represent line separators in different environments.
- LineSeparator(String) - Constructor for class io.netty.handler.codec.string.LineSeparator
-
Create
LineSeparatorwith the specifiedlineSeparatorstring.
M
- mark(int) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- markSupported() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- maxContentLength() - Method in class io.netty.handler.codec.MessageAggregator
-
Returns the maximum allowed length of the aggregated message in bytes.
- maxCumulationBufferComponents() - Method in class io.netty.handler.codec.MessageAggregator
-
Returns the maximum number of components in the cumulation buffer.
- MERGE_CUMULATOR - Static variable in class io.netty.handler.codec.ByteToMessageDecoder
-
Cumulate
ByteBufs by merge them into oneByteBuf's, using memory copies. - MessageAggregationException - Exception in io.netty.handler.codec
-
Raised by
MessageAggregatorwhen aggregation fails due to an unexpected message sequence. - MessageAggregationException() - Constructor for exception io.netty.handler.codec.MessageAggregationException
- MessageAggregationException(String) - Constructor for exception io.netty.handler.codec.MessageAggregationException
- MessageAggregationException(String, Throwable) - Constructor for exception io.netty.handler.codec.MessageAggregationException
- MessageAggregationException(Throwable) - Constructor for exception io.netty.handler.codec.MessageAggregationException
- MessageAggregator<I,S,C extends io.netty.buffer.ByteBufHolder,O extends io.netty.buffer.ByteBufHolder> - Class in io.netty.handler.codec
-
An abstract
ChannelHandlerthat aggregates a series of message objects into a single aggregated message. - MessageAggregator(int) - Constructor for class io.netty.handler.codec.MessageAggregator
-
Creates a new instance.
- MessageAggregator(int, Class<? extends I>) - Constructor for class io.netty.handler.codec.MessageAggregator
- MessageToByteEncoder<I> - Class in io.netty.handler.codec
-
ChannelOutboundHandlerAdapterwhich encodes message in a stream-like fashion from one message to anByteBuf. - MessageToByteEncoder() - Constructor for class io.netty.handler.codec.MessageToByteEncoder
-
see
MessageToByteEncoder(boolean)withtrueas boolean parameter. - MessageToByteEncoder(boolean) - Constructor for class io.netty.handler.codec.MessageToByteEncoder
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- MessageToByteEncoder(Class<? extends I>) - Constructor for class io.netty.handler.codec.MessageToByteEncoder
-
see
MessageToByteEncoder(Class, boolean)withtrueas boolean value. - MessageToByteEncoder(Class<? extends I>, boolean) - Constructor for class io.netty.handler.codec.MessageToByteEncoder
-
Create a new instance
- MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN> - Class in io.netty.handler.codec
-
A Codec for on-the-fly encoding/decoding of message.
- MessageToMessageCodec() - Constructor for class io.netty.handler.codec.MessageToMessageCodec
-
Create a new instance which will try to detect the types to decode and encode out of the type parameter of the class.
- MessageToMessageCodec(Class<? extends INBOUND_IN>, Class<? extends OUTBOUND_IN>) - Constructor for class io.netty.handler.codec.MessageToMessageCodec
-
Create a new instance.
- MessageToMessageDecoder<I> - Class in io.netty.handler.codec
-
ChannelInboundHandlerAdapterwhich decodes from one message to an other message. - MessageToMessageDecoder() - Constructor for class io.netty.handler.codec.MessageToMessageDecoder
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- MessageToMessageDecoder(Class<? extends I>) - Constructor for class io.netty.handler.codec.MessageToMessageDecoder
-
Create a new instance
- MessageToMessageEncoder<I> - Class in io.netty.handler.codec
- MessageToMessageEncoder() - Constructor for class io.netty.handler.codec.MessageToMessageEncoder
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- MessageToMessageEncoder(Class<? extends I>) - Constructor for class io.netty.handler.codec.MessageToMessageEncoder
-
Create a new instance
N
- names() - Method in class io.netty.handler.codec.DefaultHeaders
- names() - Method in class io.netty.handler.codec.EmptyHeaders
- names() - Method in interface io.netty.handler.codec.Headers
-
Returns a
Setof all header names in this object. - namesAsString(Headers<CharSequence, CharSequence, ?>) - Static method in class io.netty.handler.codec.HeadersUtils
- nameValidator() - Method in class io.netty.handler.codec.DefaultHeaders
- NEEDS_MORE_DATA - io.netty.handler.codec.ProtocolDetectionState
-
Need more data to detect the protocol.
- needsMoreData() - Static method in class io.netty.handler.codec.ProtocolDetectionResult
-
Returns a
ProtocolDetectionResultthat signals that more data is needed to detect the protocol. - newContinueResponse(S, int, ChannelPipeline) - Method in class io.netty.handler.codec.MessageAggregator
-
Returns the 'continue response' for the specified start message if necessary.
- newHeaderEntry(int, K, V, DefaultHeaders.HeaderEntry<K, V>) - Method in class io.netty.handler.codec.DefaultHeaders
- newObjectOutputStream(OutputStream) - Method in class io.netty.handler.codec.serialization.CompatibleObjectEncoder
-
Deprecated.Creates a new
ObjectOutputStreamwhich wraps the specifiedOutputStream. - next - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
-
In bucket linked list
- NO_VALIDATION - Static variable in interface io.netty.handler.codec.DefaultHeaders.ValueValidator
- NOT_NULL - Static variable in interface io.netty.handler.codec.DefaultHeaders.NameValidator
- nulDelimiter() - Static method in class io.netty.handler.codec.Delimiters
-
Returns a
NUL (0x00)delimiter, which could be used for Flash XML socket or any similar protocols.
O
- ObjectDecoder - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- ObjectDecoder(int, ClassResolver) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoder
-
Deprecated.Creates a new decoder with the specified maximum object size.
- ObjectDecoder(ClassResolver) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoder
-
Deprecated.Creates a new decoder whose maximum object size is
1048576bytes. - ObjectDecoderInputStream - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- ObjectDecoderInputStream(InputStream) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.Creates a new
ObjectInput. - ObjectDecoderInputStream(InputStream, int) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.Creates a new
ObjectInput. - ObjectDecoderInputStream(InputStream, ClassLoader) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.Creates a new
ObjectInput. - ObjectDecoderInputStream(InputStream, ClassLoader, int) - Constructor for class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.Creates a new
ObjectInput. - ObjectEncoder - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- ObjectEncoder() - Constructor for class io.netty.handler.codec.serialization.ObjectEncoder
-
Deprecated.
- ObjectEncoderOutputStream - Class in io.netty.handler.codec.serialization
-
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability
- ObjectEncoderOutputStream(OutputStream) - Constructor for class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.Creates a new
ObjectOutputwith the estimated length of 512 bytes. - ObjectEncoderOutputStream(OutputStream, int) - Constructor for class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.Creates a new
ObjectOutput. - ORDERED - io.netty.handler.codec.base64.Base64Dialect
-
Special "ordered" dialect of Base64 described in RFC1940.
P
- parseHttpDate(CharSequence) - Static method in class io.netty.handler.codec.DateFormatter
-
Parse some text into a
Date, according to RFC6265 - parseHttpDate(CharSequence, int, int) - Static method in class io.netty.handler.codec.DateFormatter
-
Parse some text into a
Date, according to RFC6265 - pointNeighborsToThis() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- PrematureChannelClosureException - Exception in io.netty.handler.codec
-
A
CodecExceptionwhich is thrown when aChannelis closed unexpectedly before the codec finishes handling the current message, such as missing response while waiting for a request. - PrematureChannelClosureException() - Constructor for exception io.netty.handler.codec.PrematureChannelClosureException
-
Creates a new instance.
- PrematureChannelClosureException(String) - Constructor for exception io.netty.handler.codec.PrematureChannelClosureException
-
Creates a new instance.
- PrematureChannelClosureException(String, Throwable) - Constructor for exception io.netty.handler.codec.PrematureChannelClosureException
-
Creates a new instance.
- PrematureChannelClosureException(Throwable) - Constructor for exception io.netty.handler.codec.PrematureChannelClosureException
-
Creates a new instance.
- ProtocolDetectionResult<T> - Class in io.netty.handler.codec
-
Result of detecting a protocol.
- ProtocolDetectionState - Enum in io.netty.handler.codec
-
The state of the current detection.
R
- read() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- read(byte[]) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- read(byte[], int, int) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- read(ChannelHandlerContext) - Method in class io.netty.handler.codec.DatagramPacketEncoder
- readBoolean() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readByte() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readChar() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readDouble() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readFloat() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readFully(byte[]) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readFully(byte[], int, int) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readInt() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readLine() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.Use
BufferedReader.readLine()instead. - readLong() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readObject() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readShort() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readUnsignedByte() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readUnsignedShort() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- readUTF() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- releaseCurrentMessage() - Method in class io.netty.handler.codec.MessageAggregator
- remove() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- remove(K) - Method in class io.netty.handler.codec.DefaultHeaders
- remove(K) - Method in class io.netty.handler.codec.EmptyHeaders
- remove(K) - Method in interface io.netty.handler.codec.Headers
-
Removes all headers with the specified
name. - ReplayingDecoder<S> - Class in io.netty.handler.codec
-
A specialized variation of
ByteToMessageDecoderwhich enables implementation of a non-blocking decoder in the blocking I/O paradigm. - ReplayingDecoder() - Constructor for class io.netty.handler.codec.ReplayingDecoder
-
Creates a new instance with no initial state (i.e:
null). - ReplayingDecoder(S) - Constructor for class io.netty.handler.codec.ReplayingDecoder
-
Creates a new instance with the specified initial state.
- reset() - Method in class io.netty.handler.codec.DateFormatter
- reset() - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- resolve(String) - Method in interface io.netty.handler.codec.serialization.ClassResolver
-
Deprecated.
S
- set(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.DefaultHeaders
- set(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.EmptyHeaders
- set(Headers<? extends K, ? extends V, ?>) - Method in interface io.netty.handler.codec.Headers
-
Clears the current header entries and copies all header entries of the specified
headers. - set(K, Iterable<? extends V>) - Method in class io.netty.handler.codec.DefaultHeaders
- set(K, Iterable<? extends V>) - Method in class io.netty.handler.codec.EmptyHeaders
- set(K, Iterable<? extends V>) - Method in interface io.netty.handler.codec.Headers
-
Sets a new header with the specified name and values.
- set(K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- set(K, V) - Method in class io.netty.handler.codec.EmptyHeaders
- set(K, V) - Method in interface io.netty.handler.codec.Headers
-
Sets a header with the specified name and value.
- set(K, V...) - Method in class io.netty.handler.codec.DefaultHeaders
- set(K, V...) - Method in class io.netty.handler.codec.EmptyHeaders
- set(K, V...) - Method in interface io.netty.handler.codec.Headers
-
Sets a header with the specified name and values.
- setAll(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.DefaultHeaders
- setAll(Headers<? extends K, ? extends V, ?>) - Method in class io.netty.handler.codec.EmptyHeaders
- setAll(Headers<? extends K, ? extends V, ?>) - Method in interface io.netty.handler.codec.Headers
-
Retains all current headers but calls
#set(K, V)for each entry inheaders. - setBoolean(K, boolean) - Method in class io.netty.handler.codec.DefaultHeaders
- setBoolean(K, boolean) - Method in class io.netty.handler.codec.EmptyHeaders
- setBoolean(K, boolean) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setByte(K, byte) - Method in class io.netty.handler.codec.DefaultHeaders
- setByte(K, byte) - Method in class io.netty.handler.codec.EmptyHeaders
- setByte(K, byte) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setChar(K, char) - Method in class io.netty.handler.codec.DefaultHeaders
- setChar(K, char) - Method in class io.netty.handler.codec.EmptyHeaders
- setChar(K, char) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setCumulator(ByteToMessageDecoder.Cumulator) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Set the
ByteToMessageDecoder.Cumulatorto use for cumulate the receivedByteBufs. - setDecoderResult(DecoderResult) - Method in interface io.netty.handler.codec.DecoderResultProvider
-
Updates the result of decoding this object.
- setDiscardAfterReads(int) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
Set the number of reads after which
ByteBuf.discardSomeReadBytes()are called and so free up memory. - setDouble(K, double) - Method in class io.netty.handler.codec.DefaultHeaders
- setDouble(K, double) - Method in class io.netty.handler.codec.EmptyHeaders
- setDouble(K, double) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setFloat(K, float) - Method in class io.netty.handler.codec.DefaultHeaders
- setFloat(K, float) - Method in class io.netty.handler.codec.EmptyHeaders
- setFloat(K, float) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setInt(K, int) - Method in class io.netty.handler.codec.DefaultHeaders
- setInt(K, int) - Method in class io.netty.handler.codec.EmptyHeaders
- setInt(K, int) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setLong(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- setLong(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- setLong(K, long) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setMaxCumulationBufferComponents(int) - Method in class io.netty.handler.codec.MessageAggregator
-
Sets the maximum number of components in the cumulation buffer.
- setObject(K, Iterable<?>) - Method in class io.netty.handler.codec.DefaultHeaders
- setObject(K, Iterable<?>) - Method in class io.netty.handler.codec.EmptyHeaders
- setObject(K, Iterable<?>) - Method in interface io.netty.handler.codec.Headers
-
Sets a header with the specified name and values.
- setObject(K, Object) - Method in class io.netty.handler.codec.DefaultHeaders
- setObject(K, Object) - Method in class io.netty.handler.codec.EmptyHeaders
- setObject(K, Object) - Method in interface io.netty.handler.codec.Headers
-
Sets a new header.
- setObject(K, Object...) - Method in class io.netty.handler.codec.DefaultHeaders
- setObject(K, Object...) - Method in class io.netty.handler.codec.EmptyHeaders
- setObject(K, Object...) - Method in interface io.netty.handler.codec.Headers
-
Sets a header with the specified name and values.
- setShort(K, short) - Method in class io.netty.handler.codec.DefaultHeaders
- setShort(K, short) - Method in class io.netty.handler.codec.EmptyHeaders
- setShort(K, short) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setSingleDecode(boolean) - Method in class io.netty.handler.codec.ByteToMessageDecoder
-
If set then only one message is decoded on each
ByteToMessageDecoder.channelRead(ChannelHandlerContext, Object)call. - setTimeMillis(K, long) - Method in class io.netty.handler.codec.DefaultHeaders
- setTimeMillis(K, long) - Method in class io.netty.handler.codec.EmptyHeaders
- setTimeMillis(K, long) - Method in interface io.netty.handler.codec.Headers
-
Set the
nametovalue. - setValue(V) - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- SIGNAL_SUCCESS - Static variable in class io.netty.handler.codec.DecoderResult
- SIGNAL_UNFINISHED - Static variable in class io.netty.handler.codec.DecoderResult
- size() - Method in class io.netty.handler.codec.DefaultHeaders
- size() - Method in class io.netty.handler.codec.EmptyHeaders
- size() - Method in interface io.netty.handler.codec.Headers
-
Returns the number of headers in this object.
- size() - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- skip(long) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- skipBytes(int) - Method in class io.netty.handler.codec.serialization.ObjectDecoderInputStream
-
Deprecated.
- softCachingConcurrentResolver(ClassLoader) - Static method in class io.netty.handler.codec.serialization.ClassResolvers
-
Deprecated.aggressive concurrent cache good for shared cache, when we're not worried about class unloading
- softCachingResolver(ClassLoader) - Static method in class io.netty.handler.codec.serialization.ClassResolvers
-
Deprecated.aggressive non-concurrent cache good for non-shared cache, when we're not worried about class unloading
- STANDARD - io.netty.handler.codec.base64.Base64Dialect
-
Standard Base64 encoding as described in the Section 3 of RFC3548.
- state() - Method in class io.netty.handler.codec.ProtocolDetectionResult
-
Return the
ProtocolDetectionState. - state() - Method in class io.netty.handler.codec.ReplayingDecoder
-
Returns the current state of this decoder.
- state(S) - Method in class io.netty.handler.codec.ReplayingDecoder
-
Sets the current state of this decoder.
- StringDecoder - Class in io.netty.handler.codec.string
-
Decodes a received
ByteBufinto aString. - StringDecoder() - Constructor for class io.netty.handler.codec.string.StringDecoder
-
Creates a new instance with the current system character set.
- StringDecoder(Charset) - Constructor for class io.netty.handler.codec.string.StringDecoder
-
Creates a new instance with the specified character set.
- StringEncoder - Class in io.netty.handler.codec.string
-
Encodes the requested
Stringinto aByteBuf. - StringEncoder() - Constructor for class io.netty.handler.codec.string.StringEncoder
-
Creates a new instance with the current system character set.
- StringEncoder(Charset) - Constructor for class io.netty.handler.codec.string.StringEncoder
-
Creates a new instance with the specified character set.
- SUCCESS - Static variable in class io.netty.handler.codec.DecoderResult
T
- TooLongFrameException - Exception in io.netty.handler.codec
-
An
DecoderExceptionwhich is thrown when the length of the frame decoded is greater than the allowed maximum. - TooLongFrameException() - Constructor for exception io.netty.handler.codec.TooLongFrameException
-
Creates a new instance.
- TooLongFrameException(String) - Constructor for exception io.netty.handler.codec.TooLongFrameException
-
Creates a new instance.
- TooLongFrameException(String, Throwable) - Constructor for exception io.netty.handler.codec.TooLongFrameException
-
Creates a new instance.
- TooLongFrameException(Throwable) - Constructor for exception io.netty.handler.codec.TooLongFrameException
-
Creates a new instance.
- toString() - Method in class io.netty.handler.codec.DecoderResult
- toString() - Method in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- toString() - Method in class io.netty.handler.codec.DefaultHeaders
- toString() - Method in class io.netty.handler.codec.EmptyHeaders
- toString() - Method in class io.netty.handler.codec.string.LineSeparator
-
Return a hex dump of the line separator in UTF-8 encoding.
- toString(Class<?>, Iterator<Map.Entry<K, V>>, int) - Static method in class io.netty.handler.codec.HeadersUtils
-
Helper for implementing toString for
DefaultHeadersand wrappers such as DefaultHttpHeaders.
U
- UNFINISHED - Static variable in class io.netty.handler.codec.DecoderResult
- UNIX - Static variable in class io.netty.handler.codec.string.LineSeparator
-
The Unix line separator(LF)
- UnsupportedMessageTypeException - Exception in io.netty.handler.codec
-
Thrown if an unsupported message is received by an codec.
- UnsupportedMessageTypeException() - Constructor for exception io.netty.handler.codec.UnsupportedMessageTypeException
- UnsupportedMessageTypeException(Object, Class<?>...) - Constructor for exception io.netty.handler.codec.UnsupportedMessageTypeException
- UnsupportedMessageTypeException(String) - Constructor for exception io.netty.handler.codec.UnsupportedMessageTypeException
- UnsupportedMessageTypeException(String, Throwable) - Constructor for exception io.netty.handler.codec.UnsupportedMessageTypeException
- UnsupportedMessageTypeException(Throwable) - Constructor for exception io.netty.handler.codec.UnsupportedMessageTypeException
- UnsupportedValueConverter<V> - Class in io.netty.handler.codec
-
UnsupportedOperationExceptionwill be thrown from allValueConvertermethods. - URL_SAFE - io.netty.handler.codec.base64.Base64Dialect
-
Base64-like encoding that is URL-safe as described in the Section 4 of RFC3548.
- userEventTriggered(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.ByteToMessageDecoder
- userEventTriggered(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.DatagramPacketDecoder
V
- validate(V) - Method in interface io.netty.handler.codec.DefaultHeaders.ValueValidator
-
Validate the given value.
- validateName(DefaultHeaders.NameValidator<K>, boolean, K) - Method in class io.netty.handler.codec.DefaultHeaders
-
Call out to the given
DefaultHeaders.NameValidatorto validate the given name. - validateName(K) - Method in interface io.netty.handler.codec.DefaultHeaders.NameValidator
-
Verify that
nameis valid. - validateValue(DefaultHeaders.ValueValidator<V>, K, V) - Method in class io.netty.handler.codec.DefaultHeaders
- value - Variable in class io.netty.handler.codec.DefaultHeaders.HeaderEntry
- value() - Method in class io.netty.handler.codec.string.LineSeparator
-
Return the string value of this line separator.
- valueConverter() - Method in class io.netty.handler.codec.DefaultHeaders
- ValueConverter<T> - Interface in io.netty.handler.codec
-
Converts to/from a generic object to the type.
- valueIterator(K) - Method in class io.netty.handler.codec.DefaultHeaders
-
Equivalent to
DefaultHeaders.getAll(Object)but no intermediate list is generated. - valueIterator(K) - Method in class io.netty.handler.codec.EmptyHeaders
-
Equivalent to
EmptyHeaders.getAll(Object)but no intermediate list is generated. - valueOf(String) - Static method in enum io.netty.handler.codec.AsciiHeadersEncoder.NewlineType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.codec.AsciiHeadersEncoder.SeparatorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.codec.base64.Base64Dialect
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.codec.ProtocolDetectionState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.netty.handler.codec.AsciiHeadersEncoder.NewlineType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.handler.codec.AsciiHeadersEncoder.SeparatorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.handler.codec.base64.Base64Dialect
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.handler.codec.ProtocolDetectionState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueValidator() - Method in class io.netty.handler.codec.DefaultHeaders
W
- weakCachingConcurrentResolver(ClassLoader) - Static method in class io.netty.handler.codec.serialization.ClassResolvers
-
Deprecated.non-aggressive concurrent cache good for shared cache, when we're worried about class unloading
- weakCachingResolver(ClassLoader) - Static method in class io.netty.handler.codec.serialization.ClassResolvers
-
Deprecated.non-aggressive non-concurrent cache good for non-shared default cache
- WINDOWS - Static variable in class io.netty.handler.codec.string.LineSeparator
-
The Windows line separator(CRLF)
- write(byte[]) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- write(byte[], int, int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- write(int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.handler.codec.ByteToMessageCodec
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.handler.codec.MessageToByteEncoder
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.handler.codec.MessageToMessageCodec
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.handler.codec.MessageToMessageEncoder
- writeBoolean(boolean) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeByte(int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeBytes(String) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeChar(int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeChars(String) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeDouble(double) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeFloat(float) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeInt(int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeLong(long) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeObject(Object) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeShort(int) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
- writeUTF(String) - Method in class io.netty.handler.codec.serialization.ObjectEncoderOutputStream
-
Deprecated.
All Classes All Packages