Uses of Interface
org.jboss.netty.buffer.ChannelBuffer
-
Packages that use ChannelBuffer Package Description org.jboss.netty.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.org.jboss.netty.example.factorial org.jboss.netty.example.http.websocketx.server This package contains an example web socket web server.org.jboss.netty.example.portunification org.jboss.netty.handler.codec.base64 Encoder and decoder which transform a Base64-encodedStringorChannelBufferinto a decodedChannelBufferand vice versa.org.jboss.netty.handler.codec.frame 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.org.jboss.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.org.jboss.netty.handler.codec.http.multipart HTTP multipart support.org.jboss.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.org.jboss.netty.handler.codec.marshalling Decoder and Encoder which uses JBoss Marshalling.org.jboss.netty.handler.codec.protobuf Encoder and decoder which transform a Google Protocol BuffersMessageinto aChannelBufferand vice versa.org.jboss.netty.handler.codec.replay Specialized variation ofFrameDecoderwhich enables implementation of a non-blocking decoder in the blocking I/O paradigm.org.jboss.netty.handler.codec.rtsp An RTSP extension based on the HTTP codec.org.jboss.netty.handler.codec.serialization Encoder, decoder and their compatibility stream implementations which transform aSerializableobject into a byte buffer and vice versa.org.jboss.netty.handler.codec.socks Encoder, decoder and their related message types for Socks.org.jboss.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.org.jboss.netty.handler.ssl -
-
Uses of ChannelBuffer in org.jboss.netty.buffer
Subinterfaces of ChannelBuffer in org.jboss.netty.buffer Modifier and Type Interface Description interfaceWrappedChannelBufferThe common interface for buffer wrappers and derived buffers.Classes in org.jboss.netty.buffer that implement ChannelBuffer Modifier and Type Class Description classAbstractChannelBufferA skeletal implementation of a buffer.classBigEndianHeapChannelBufferA big-endian Java heap buffer.classByteBufferBackedChannelBufferA NIOByteBufferbased buffer.classCompositeChannelBufferA virtual buffer which shows multiple buffers as a single merged buffer.classDuplicatedChannelBufferA derived buffer which simply forwards all data access requests to its parent.classDynamicChannelBufferA dynamic capacity buffer which increases its capacity as needed.classEmptyChannelBufferAn immutable empty buffer implementation.classHeapChannelBufferA skeletal implementation for Java heap buffers.classLittleEndianHeapChannelBufferA little-endian Java heap buffer.classReadOnlyChannelBufferA derived buffer which forbids any write requests to its parent.classSlicedChannelBufferA derived buffer which exposes its parent's sub-region only.classTruncatedChannelBufferA derived buffer which hides its parent's tail data beyond a certain index.Fields in org.jboss.netty.buffer declared as ChannelBuffer Modifier and Type Field Description static ChannelBufferChannelBuffers. EMPTY_BUFFERA buffer whose capacity is0.Methods in org.jboss.netty.buffer that return ChannelBuffer Modifier and Type Method Description ChannelBufferChannelBufferOutputStream. buffer()Returns the buffer where this stream is writing data.static ChannelBufferChannelBuffers. buffer(int capacity)Creates a new big-endian Java heap buffer with the specifiedcapacity.static ChannelBufferChannelBuffers. buffer(ByteOrder endianness, int capacity)Creates a new Java heap buffer with the specifiedendiannessandcapacity.static ChannelBufferChannelBuffers. copiedBuffer(byte[] array)Creates a new big-endian buffer whose content is a copy of the specifiedarray.static ChannelBufferChannelBuffers. copiedBuffer(byte[]... arrays)Creates a new big-endian buffer whose content is a merged copy of the specifiedarrays.static ChannelBufferChannelBuffers. copiedBuffer(byte[] array, int offset, int length)Creates a new big-endian buffer whose content is a copy of the specifiedarray's sub-region.static ChannelBufferChannelBuffers. copiedBuffer(char[] array, int offset, int length, Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(char[] array, Charset charset)Creates a new big-endian buffer whose content is the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(CharSequence string, int offset, int length, Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(CharSequence string, Charset charset)Creates a new big-endian buffer whose content is the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(ByteBuffer buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's current slice.static ChannelBufferChannelBuffers. copiedBuffer(ByteBuffer... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' slices.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, byte[] array)Creates a new buffer with the specifiedendiannesswhose content is a copy of the specifiedarray.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, byte[]... arrays)Creates a new buffer with the specifiedendiannesswhose content is a merged copy of the specifiedarrays.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, byte[] array, int offset, int length)Creates a new buffer with the specifiedendiannesswhose content is a copy of the specifiedarray's sub-region.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, char[] array, int offset, int length, Charset charset)Creates a new buffer with the specifiedendiannesswhose content is a subregion of the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, char[] array, Charset charset)Creates a new buffer with the specifiedendiannesswhose content is the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, CharSequence string, int offset, int length, Charset charset)Creates a new buffer with the specifiedendiannesswhose content is a subregion of the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(ByteOrder endianness, CharSequence string, Charset charset)Creates a new buffer with the specifiedendiannesswhose content is the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(ChannelBuffer buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's readable bytes.static ChannelBufferChannelBuffers. copiedBuffer(ChannelBuffer... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' readable bytes.ChannelBufferAbstractChannelBuffer. copy()ChannelBufferBigEndianHeapChannelBuffer. copy(int index, int length)ChannelBufferByteBufferBackedChannelBuffer. copy(int index, int length)ChannelBufferChannelBuffer. copy()Returns a copy of this buffer's readable bytes.ChannelBufferChannelBuffer. copy(int index, int length)Returns a copy of this buffer's sub-region.ChannelBufferCompositeChannelBuffer. copy(int index, int length)ChannelBufferDuplicatedChannelBuffer. copy(int index, int length)ChannelBufferDynamicChannelBuffer. copy(int index, int length)ChannelBufferLittleEndianHeapChannelBuffer. copy(int index, int length)ChannelBufferReadOnlyChannelBuffer. copy(int index, int length)ChannelBufferSlicedChannelBuffer. copy(int index, int length)ChannelBufferTruncatedChannelBuffer. copy(int index, int length)static ChannelBufferChannelBuffers. directBuffer(int capacity)Creates a new big-endian direct buffer with the specifiedcapacity.static ChannelBufferChannelBuffers. directBuffer(ByteOrder endianness, int capacity)Creates a new direct buffer with the specifiedendiannessandcapacity.ChannelBufferBigEndianHeapChannelBuffer. duplicate()ChannelBufferByteBufferBackedChannelBuffer. duplicate()ChannelBufferChannelBuffer. duplicate()Returns a buffer which shares the whole region of this buffer.ChannelBufferCompositeChannelBuffer. duplicate()ChannelBufferDuplicatedChannelBuffer. duplicate()ChannelBufferDynamicChannelBuffer. duplicate()ChannelBufferLittleEndianHeapChannelBuffer. duplicate()ChannelBufferReadOnlyChannelBuffer. duplicate()ChannelBufferSlicedChannelBuffer. duplicate()ChannelBufferTruncatedChannelBuffer. duplicate()static ChannelBufferChannelBuffers. dynamicBuffer()Creates a new big-endian dynamic buffer whose estimated data length is256bytes.static ChannelBufferChannelBuffers. dynamicBuffer(int estimatedLength)Creates a new big-endian dynamic buffer with the specified estimated data length.static ChannelBufferChannelBuffers. dynamicBuffer(int estimatedLength, ChannelBufferFactory factory)Creates a new big-endian dynamic buffer with the specified estimated data length using the specified factory.static ChannelBufferChannelBuffers. dynamicBuffer(ByteOrder endianness, int estimatedLength)Creates a new dynamic buffer with the specified endianness and the specified estimated data length.static ChannelBufferChannelBuffers. dynamicBuffer(ByteOrder endianness, int estimatedLength, ChannelBufferFactory factory)Creates a new dynamic buffer with the specified endianness and the specified estimated data length using the specified factory.static ChannelBufferChannelBuffers. dynamicBuffer(ChannelBufferFactory factory)ChannelBufferAbstractChannelBufferFactory. getBuffer(byte[] array, int offset, int length)ChannelBufferAbstractChannelBufferFactory. getBuffer(int capacity)ChannelBufferChannelBufferFactory. getBuffer(byte[] array, int offset, int length)Returns aChannelBufferwhose content is equal to the sub-region of the specifiedarray.ChannelBufferChannelBufferFactory. getBuffer(int capacity)Returns aChannelBufferwith the specifiedcapacity.ChannelBufferChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)Returns aChannelBufferwhose content is equal to the sub-region of the specifiednioBuffer.ChannelBufferChannelBufferFactory. getBuffer(ByteOrder endianness, byte[] array, int offset, int length)Returns aChannelBufferwhose content is equal to the sub-region of the specifiedarray.ChannelBufferChannelBufferFactory. getBuffer(ByteOrder endianness, int capacity)ChannelBufferCompositeChannelBuffer. getBuffer(int index)ChannelBufferDirectChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferDirectChannelBufferFactory. getBuffer(ByteOrder order, byte[] array, int offset, int length)ChannelBufferDirectChannelBufferFactory. getBuffer(ByteOrder order, int capacity)ChannelBufferHeapChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferHeapChannelBufferFactory. getBuffer(ByteOrder order, byte[] array, int offset, int length)ChannelBufferHeapChannelBufferFactory. getBuffer(ByteOrder order, int capacity)static ChannelBufferChannelBuffers. hexDump(String hexString)Create aChannelBufferfrom the given hex dumpChannelBufferAbstractChannelBuffer. readBytes(int length)ChannelBufferChannelBuffer. readBytes(int length)Transfers this buffer's data to a newly created buffer starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).ChannelBufferEmptyChannelBuffer. readBytes(int length)ChannelBufferAbstractChannelBuffer. readSlice(int length)ChannelBufferChannelBuffer. readSlice(int length)Returns a new slice of this buffer's sub-region starting at the currentreaderIndexand increases thereaderIndexby the size of the new slice (=length).ChannelBufferEmptyChannelBuffer. readSlice(int length)ChannelBufferAbstractChannelBuffer. slice()ChannelBufferByteBufferBackedChannelBuffer. slice(int index, int length)ChannelBufferChannelBuffer. slice()Returns a slice of this buffer's readable bytes.ChannelBufferChannelBuffer. slice(int index, int length)Returns a slice of this buffer's sub-region.ChannelBufferCompositeChannelBuffer. slice(int index, int length)ChannelBufferDuplicatedChannelBuffer. slice(int index, int length)ChannelBufferDynamicChannelBuffer. slice(int index, int length)ChannelBufferHeapChannelBuffer. slice(int index, int length)ChannelBufferReadOnlyChannelBuffer. slice(int index, int length)ChannelBufferSlicedChannelBuffer. slice(int index, int length)ChannelBufferTruncatedChannelBuffer. slice(int index, int length)static ChannelBufferChannelBuffers. unmodifiableBuffer(ChannelBuffer buffer)Creates a read-only buffer which disallows any modification operations on the specifiedbuffer.ChannelBufferDuplicatedChannelBuffer. unwrap()ChannelBufferReadOnlyChannelBuffer. unwrap()ChannelBufferSlicedChannelBuffer. unwrap()ChannelBufferTruncatedChannelBuffer. unwrap()ChannelBufferWrappedChannelBuffer. unwrap()Returns this buffer's parent that this buffer is wrapping.static ChannelBufferChannelBuffers. wrappedBuffer(boolean gathering, ByteBuffer... buffers)Creates a new composite buffer which wraps the slices of the specified NIO buffers without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(boolean gathering, ChannelBuffer... buffers)Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(byte[] array)Creates a new big-endian buffer which wraps the specifiedarray.static ChannelBufferChannelBuffers. wrappedBuffer(byte[]... arrays)Creates a new big-endian composite buffer which wraps the specified arrays without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(byte[] array, int offset, int length)Creates a new big-endian buffer which wraps the sub-region of the specifiedarray.static ChannelBufferChannelBuffers. wrappedBuffer(ByteBuffer buffer)Creates a new buffer which wraps the specified NIO buffer's current slice.static ChannelBufferChannelBuffers. wrappedBuffer(ByteBuffer... buffers)Creates a new composite buffer which wraps the slices of the specified NIO buffers without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(ByteOrder endianness, byte[] array)Creates a new buffer which wraps the specifiedarraywith the specifiedendianness.static ChannelBufferChannelBuffers. wrappedBuffer(ByteOrder endianness, byte[]... arrays)Creates a new composite buffer which wraps the specified arrays without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(ByteOrder endianness, byte[] array, int offset, int length)Creates a new buffer which wraps the sub-region of the specifiedarraywith the specifiedendianness.static ChannelBufferChannelBuffers. wrappedBuffer(ChannelBuffer buffer)Creates a new buffer which wraps the specified buffer's readable bytes.static ChannelBufferChannelBuffers. wrappedBuffer(ChannelBuffer... buffers)Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.Methods in org.jboss.netty.buffer that return types with arguments of type ChannelBuffer Modifier and Type Method Description List<ChannelBuffer>CompositeChannelBuffer. decompose(int index, int length)Same withCompositeChannelBuffer.slice(int, int)except that this method returns a list.Methods in org.jboss.netty.buffer with parameters of type ChannelBuffer Modifier and Type Method Description static intChannelBuffers. compare(ChannelBuffer bufferA, ChannelBuffer bufferB)Compares the two specified buffers as described incompareTo(ChannelBuffer).intAbstractChannelBuffer. compareTo(ChannelBuffer that)intChannelBuffer. compareTo(ChannelBuffer buffer)Compares the content of the specified buffer to the content of this buffer.static ChannelBufferChannelBuffers. copiedBuffer(ChannelBuffer buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's readable bytes.static ChannelBufferChannelBuffers. copiedBuffer(ChannelBuffer... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' readable bytes.static booleanChannelBuffers. equals(ChannelBuffer bufferA, ChannelBuffer bufferB)Returnstrueif and only if the two specified buffers are identical to each other as described inChannelBuffer#equals(Object).booleanChannelBufferIndexFinder. find(ChannelBuffer buffer, int guessedIndex)Returnstrueif and only if the data is found at the specifiedguessedIndexof the specifiedbuffer.voidAbstractChannelBuffer. getBytes(int index, ChannelBuffer dst)voidAbstractChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)voidByteBufferBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidChannelBuffer. getBytes(int index, ChannelBuffer dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination becomes non-writable.voidChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidCompositeChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidDuplicatedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidDynamicChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidHeapChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidReadOnlyChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidSlicedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidTruncatedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)static intChannelBuffers. hashCode(ChannelBuffer buffer)Calculates the hash code of the specified buffer.static StringChannelBuffers. hexDump(ChannelBuffer buffer)Returns a hex dump of the specified buffer's readable bytes.static StringChannelBuffers. hexDump(ChannelBuffer buffer, int fromIndex, int length)Returns a hex dump of the specified buffer's sub-region.static intChannelBuffers. indexOf(ChannelBuffer buffer, int fromIndex, int toIndex, byte value)The default implementation ofindexOf(int, int, byte).static intChannelBuffers. indexOf(ChannelBuffer buffer, int fromIndex, int toIndex, ChannelBufferIndexFinder indexFinder)The default implementation ofindexOf(int, int, ChannelBufferIndexFinder).voidAbstractChannelBuffer. readBytes(ChannelBuffer dst)voidAbstractChannelBuffer. readBytes(ChannelBuffer dst, int length)voidAbstractChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidChannelBuffer. readBytes(ChannelBuffer dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination becomes non-writable, and increases thereaderIndexby the number of the transferred bytes.voidChannelBuffer. readBytes(ChannelBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidEmptyChannelBuffer. readBytes(ChannelBuffer dst)voidEmptyChannelBuffer. readBytes(ChannelBuffer dst, int length)voidEmptyChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidAbstractChannelBuffer. setBytes(int index, ChannelBuffer src)voidAbstractChannelBuffer. setBytes(int index, ChannelBuffer src, int length)voidByteBufferBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidChannelBuffer. setBytes(int index, ChannelBuffer src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the source buffer becomes unreadable.voidChannelBuffer. setBytes(int index, ChannelBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidCompositeChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidDuplicatedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidDynamicChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidHeapChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidReadOnlyChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidSlicedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidTruncatedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)static ChannelBufferChannelBuffers. unmodifiableBuffer(ChannelBuffer buffer)Creates a read-only buffer which disallows any modification operations on the specifiedbuffer.static ChannelBufferChannelBuffers. wrappedBuffer(boolean gathering, ChannelBuffer... buffers)Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(ChannelBuffer buffer)Creates a new buffer which wraps the specified buffer's readable bytes.static ChannelBufferChannelBuffers. wrappedBuffer(ChannelBuffer... buffers)Creates a new composite buffer which wraps the readable bytes of the specified buffers without copying them.voidAbstractChannelBuffer. writeBytes(ChannelBuffer src)voidAbstractChannelBuffer. writeBytes(ChannelBuffer src, int length)voidAbstractChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)voidChannelBuffer. writeBytes(ChannelBuffer src)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexuntil the source buffer becomes unreadable, and increases thewriterIndexby the number of the transferred bytes.voidChannelBuffer. writeBytes(ChannelBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).voidChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).voidDynamicChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)voidEmptyChannelBuffer. writeBytes(ChannelBuffer src, int length)voidEmptyChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)Constructors in org.jboss.netty.buffer with parameters of type ChannelBuffer Constructor Description ChannelBufferInputStream(ChannelBuffer buffer)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending at the currentwriterIndex.ChannelBufferInputStream(ChannelBuffer buffer, int length)Creates a new stream which reads data from the specifiedbufferstarting at the currentreaderIndexand ending atreaderIndex + length.ChannelBufferOutputStream(ChannelBuffer buffer)Creates a new stream which writes data to the specifiedbuffer.DuplicatedChannelBuffer(ChannelBuffer buffer)ReadOnlyChannelBuffer(ChannelBuffer buffer)SlicedChannelBuffer(ChannelBuffer buffer, int index, int length)TruncatedChannelBuffer(ChannelBuffer buffer, int length)Constructor parameters in org.jboss.netty.buffer with type arguments of type ChannelBuffer Constructor Description CompositeChannelBuffer(ByteOrder endianness, List<ChannelBuffer> buffers, boolean gathering) -
Uses of ChannelBuffer in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectBigIntegerDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.example.http.websocketx.server
Methods in org.jboss.netty.example.http.websocketx.server that return ChannelBuffer Modifier and Type Method Description static ChannelBufferWebSocketServerIndexPage. getContent(String webSocketLocation) -
Uses of ChannelBuffer in org.jboss.netty.example.portunification
Methods in org.jboss.netty.example.portunification with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectPortUnificationServerHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.base64
Methods in org.jboss.netty.handler.codec.base64 that return ChannelBuffer Modifier and Type Method Description static ChannelBufferBase64. decode(ChannelBuffer src)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, Base64Dialect dialect)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, Base64Dialect dialect)static ChannelBufferBase64. decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelBuffer Modifier and Type Method Description static ChannelBufferBase64. decode(ChannelBuffer src)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, Base64Dialect dialect)static ChannelBufferBase64. decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. decode(ChannelBuffer src, Base64Dialect dialect)static ChannelBufferBase64. decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)static ChannelBufferBase64. encode(ChannelBuffer src, Base64Dialect dialect)static ChannelBufferBase64. encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.frame
Fields in org.jboss.netty.handler.codec.frame declared as ChannelBuffer Modifier and Type Field Description protected ChannelBufferFrameDecoder. cumulationMethods in org.jboss.netty.handler.codec.frame that return ChannelBuffer Modifier and Type Method Description protected ChannelBufferFrameDecoder. appendToCumulation(ChannelBuffer input)protected ChannelBufferFrameDecoder. extractFrame(ChannelBuffer buffer, int index, int length)Extract a Frame of the specified buffer.protected ChannelBufferFrameDecoder. internalBuffer()Returns the internal cumulative buffer of this decoder.static ChannelBuffer[]Delimiters. lineDelimiter()ReturnsCR ('\r')andLF ('\n')delimiters, which could be used for text-based line protocols.protected ChannelBufferFixedLengthFrameDecoder. newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity)protected ChannelBufferFrameDecoder. newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity)Create a newChannelBufferwhich is used for the cumulation.static ChannelBuffer[]Delimiters. nulDelimiter()Returns aNUL (0x00)delimiter, which could be used for Flash XML socket or any similar protocols.protected ChannelBufferFrameDecoder. updateCumulation(ChannelHandlerContext ctx, ChannelBuffer input)Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelBuffer Modifier and Type Method Description protected ChannelBufferFrameDecoder. appendToCumulation(ChannelBuffer input)protected ObjectDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ObjectFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract ObjectFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)Decodes the received packets so far into a frame.protected ObjectLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ObjectLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ObjectFrameDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)Decodes the received data so far into a frame when the channel is disconnected.protected ChannelBufferFrameDecoder. extractFrame(ChannelBuffer buffer, int index, int length)Extract a Frame of the specified buffer.protected ChannelBufferFrameDecoder. updateCumulation(ChannelHandlerContext ctx, ChannelBuffer input)Constructors in org.jboss.netty.handler.codec.frame with parameters of type ChannelBuffer Constructor Description DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, boolean failFast, ChannelBuffer delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, boolean failFast, ChannelBuffer... delimiters)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ChannelBuffer delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, boolean stripDelimiter, ChannelBuffer... delimiters)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, ChannelBuffer delimiter)Creates a new instance.DelimiterBasedFrameDecoder(int maxFrameLength, ChannelBuffer... delimiters)Creates a new instance. -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.http
Methods in org.jboss.netty.handler.codec.http that return ChannelBuffer Modifier and Type Method Description ChannelBufferDefaultHttpChunk. getContent()ChannelBufferDefaultHttpChunkTrailer. getContent()ChannelBufferDefaultHttpMessage. getContent()ChannelBufferHttpChunk. getContent()Returns the content of this chunk.ChannelBufferHttpMessage. getContent()Returns the content of this message.Methods in org.jboss.netty.handler.codec.http that return types with arguments of type ChannelBuffer Modifier and Type Method Description protected abstract DecoderEmbedder<ChannelBuffer>HttpContentDecoder. newContentDecoder(String contentEncoding)Returns a newDecoderEmbedderthat decodes the HTTP message content encoded in the specified contentEncoding.protected DecoderEmbedder<ChannelBuffer>HttpContentDecompressor. newContentDecoder(String contentEncoding)protected EncoderEmbedder<ChannelBuffer>HttpContentCompressor. newContentEncoder(HttpMessage msg, String acceptEncoding)protected abstract EncoderEmbedder<ChannelBuffer>HttpContentEncoder. newContentEncoder(HttpMessage msg, String acceptEncoding)Returns a newEncoderEmbedderthat encodes the HTTP message content.Methods in org.jboss.netty.handler.codec.http with parameters of type ChannelBuffer Modifier and Type Method Description protected voidHttpChunkAggregator. appendToCumulation(ChannelBuffer input)protected ObjectHttpMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)protected static voidHttpMessageEncoder. encodeAscii(String s, ChannelBuffer buf)protected abstract voidHttpMessageEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)protected voidHttpRequestEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)protected voidHttpResponseEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)voidDefaultHttpChunk. setContent(ChannelBuffer content)voidDefaultHttpChunkTrailer. setContent(ChannelBuffer content)voidDefaultHttpMessage. setContent(ChannelBuffer content)voidHttpChunk. setContent(ChannelBuffer content)Sets the content of this chunk.voidHttpMessage. setContent(ChannelBuffer content)Sets the content of this message.Constructors in org.jboss.netty.handler.codec.http with parameters of type ChannelBuffer Constructor Description DefaultHttpChunk(ChannelBuffer content)Creates a new instance with the specified chunk content. -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.http.multipart
Methods in org.jboss.netty.handler.codec.http.multipart that return ChannelBuffer Modifier and Type Method Description ChannelBufferAbstractDiskHttpData. getChannelBuffer()ChannelBufferAbstractMemoryHttpData. getChannelBuffer()Utility to go from a In Memory FileUpload to a Disk (or another implementation) FileUploadChannelBufferHttpData. getChannelBuffer()Returns the content of the file item as a ChannelBufferChannelBufferMixedAttribute. getChannelBuffer()ChannelBufferMixedFileUpload. getChannelBuffer()ChannelBufferAbstractDiskHttpData. getChunk(int length)ChannelBufferAbstractMemoryHttpData. getChunk(int length)ChannelBufferHttpData. getChunk(int length)Returns a ChannelBuffer for the content from the current position with at most length read bytes, increasing the current position of the Bytes read.ChannelBufferMixedAttribute. getChunk(int length)ChannelBufferMixedFileUpload. getChunk(int length)ChannelBufferInternalAttribute. toChannelBuffer()Methods in org.jboss.netty.handler.codec.http.multipart with parameters of type ChannelBuffer Modifier and Type Method Description voidAbstractDiskHttpData. addContent(ChannelBuffer buffer, boolean last)voidAbstractMemoryHttpData. addContent(ChannelBuffer buffer, boolean last)voidDiskAttribute. addContent(ChannelBuffer buffer, boolean last)voidHttpData. addContent(ChannelBuffer buffer, boolean last)Add the content from the ChannelBuffervoidMemoryAttribute. addContent(ChannelBuffer buffer, boolean last)voidMixedAttribute. addContent(ChannelBuffer buffer, boolean last)voidMixedFileUpload. addContent(ChannelBuffer buffer, boolean last)voidAbstractDiskHttpData. setContent(ChannelBuffer buffer)voidAbstractMemoryHttpData. setContent(ChannelBuffer buffer)voidHttpData. setContent(ChannelBuffer buffer)Set the content from the ChannelBuffer (erase any previous data)voidMixedAttribute. setContent(ChannelBuffer buffer)voidMixedFileUpload. setContent(ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx that return ChannelBuffer Modifier and Type Method Description ChannelBufferWebSocketFrame. getBinaryData()Returns binary dataMethods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelBuffer Modifier and Type Method Description protected voidWebSocket08FrameDecoder. checkCloseFrameBody(Channel channel, ChannelBuffer buffer)protected ObjectWebSocket00FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected ObjectWebSocket08FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state)voidWebSocketFrame. setBinaryData(ChannelBuffer binaryData)Sets the binary data for this frameConstructors in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelBuffer Constructor Description BinaryWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new binary frame with the specified binary data and the final fragment flag.BinaryWebSocketFrame(ChannelBuffer binaryData)Creates a new binary frame with the specified binary data.CloseWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new close frameContinuationWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new continuation frame with the specified binary dataContinuationWebSocketFrame(ChannelBuffer binaryData)Creates a new continuation frame with the specified binary data.PingWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new ping frame with the specified binary dataPingWebSocketFrame(ChannelBuffer binaryData)Creates a new ping frame with the specified binary data.PongWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new pong frame with the specified binary dataPongWebSocketFrame(ChannelBuffer binaryData)Creates a new pong frame with the specified binary data.TextWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)Creates a new text frame with the specified binary data.TextWebSocketFrame(ChannelBuffer binaryData)Creates a new text frame with the specified binary data. -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.marshalling
Methods in org.jboss.netty.handler.codec.marshalling that return ChannelBuffer Modifier and Type Method Description protected ChannelBufferMarshallingDecoder. extractFrame(ChannelBuffer buffer, int index, int length)Methods in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectCompatibleMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected ObjectMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ObjectCompatibleMarshallingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected ChannelBufferMarshallingDecoder. extractFrame(ChannelBuffer buffer, int index, int length) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.protobuf
Methods in org.jboss.netty.handler.codec.protobuf with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectProtobufVarint32FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay that return ChannelBuffer Modifier and Type Method Description protected ChannelBufferReplayingDecoder. internalBuffer()Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received packets so far into a frame.protected ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received data so far into a frame when the channel is disconnected. -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.rtsp
Methods in org.jboss.netty.handler.codec.rtsp with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectRtspMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)protected voidRtspRequestEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)protected voidRtspResponseEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.serialization
Methods in org.jboss.netty.handler.codec.serialization that return ChannelBuffer Modifier and Type Method Description protected ChannelBufferObjectDecoder. extractFrame(ChannelBuffer buffer, int index, int length)Methods in org.jboss.netty.handler.codec.serialization with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectObjectDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected ChannelBufferObjectDecoder. extractFrame(ChannelBuffer buffer, int index, int length) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.socks
Methods in org.jboss.netty.handler.codec.socks with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectSocksAuthRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.socks.SocksAuthRequestDecoder.State state)protected ObjectSocksAuthResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state)protected ObjectSocksCmdRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.socks.SocksCmdRequestDecoder.State state)protected ObjectSocksCmdResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state)protected ObjectSocksInitRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.socks.SocksInitRequestDecoder.State state)protected ObjectSocksInitResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitResponseDecoder.State state)voidSocksAuthRequest. encodeAsByteBuf(ChannelBuffer channelBuffer)voidSocksAuthResponse. encodeAsByteBuf(ChannelBuffer channelBuffer)voidSocksCmdRequest. encodeAsByteBuf(ChannelBuffer channelBuffer)voidSocksCmdResponse. encodeAsByteBuf(ChannelBuffer channelBuffer)voidSocksInitRequest. encodeAsByteBuf(ChannelBuffer channelBuffer)voidSocksInitResponse. encodeAsByteBuf(ChannelBuffer channelBuffer)abstract voidSocksMessage. encodeAsByteBuf(ChannelBuffer channelBuffer)Encode socks message into its byte representation and write it into byteBufvoidUnknownSocksMessage. encodeAsByteBuf(ChannelBuffer byteBuf)voidUnknownSocksRequest. encodeAsByteBuf(ChannelBuffer buffer)voidUnknownSocksResponse. encodeAsByteBuf(ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.spdy
Methods in org.jboss.netty.handler.codec.spdy that return ChannelBuffer Modifier and Type Method Description ChannelBufferSpdyHeaderBlockRawEncoder. encode(SpdyHeadersFrame headerFrame)ChannelBufferSpdyFrameEncoder. encodeDataFrame(int streamId, boolean last, ChannelBuffer data)ChannelBufferSpdyFrameEncoder. encodeGoAwayFrame(int lastGoodStreamId, int statusCode)ChannelBufferSpdyFrameEncoder. encodeHeadersFrame(int streamId, boolean last, ChannelBuffer headerBlock)ChannelBufferSpdyFrameEncoder. encodePingFrame(int id)ChannelBufferSpdyFrameEncoder. encodeRstStreamFrame(int streamId, int statusCode)ChannelBufferSpdyFrameEncoder. encodeSettingsFrame(SpdySettingsFrame spdySettingsFrame)ChannelBufferSpdyFrameEncoder. encodeSynReplyFrame(int streamId, boolean last, ChannelBuffer headerBlock)ChannelBufferSpdyFrameEncoder. encodeSynStreamFrame(int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ChannelBuffer headerBlock)ChannelBufferSpdyFrameEncoder. encodeWindowUpdateFrame(int streamId, int deltaWindowSize)ChannelBufferDefaultSpdyDataFrame. getData()ChannelBufferSpdyDataFrame. getData()Returns the data payload of this frame.Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectSpdyFrameCodec. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)voidSpdyFrameDecoder. decode(ChannelBuffer buffer)protected voidSpdyHeaderBlockRawDecoder. decodeHeaderBlock(ChannelBuffer headerBlock, SpdyHeadersFrame frame)ChannelBufferSpdyFrameEncoder. encodeDataFrame(int streamId, boolean last, ChannelBuffer data)ChannelBufferSpdyFrameEncoder. encodeHeadersFrame(int streamId, boolean last, ChannelBuffer headerBlock)ChannelBufferSpdyFrameEncoder. encodeSynReplyFrame(int streamId, boolean last, ChannelBuffer headerBlock)ChannelBufferSpdyFrameEncoder. encodeSynStreamFrame(int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ChannelBuffer headerBlock)voidSpdyFrameCodec. readDataFrame(int streamId, boolean last, ChannelBuffer data)voidSpdyFrameDecoderDelegate. readDataFrame(int streamId, boolean last, ChannelBuffer data)Called when a DATA frame is received.voidSpdyFrameCodec. readHeaderBlock(ChannelBuffer headerBlock)voidSpdyFrameDecoderDelegate. readHeaderBlock(ChannelBuffer headerBlock)Called when the header block within a SYN_STREAM, SYN_REPLY, or HEADERS frame is received.voidDefaultSpdyDataFrame. setData(ChannelBuffer data)voidSpdyDataFrame. setData(ChannelBuffer data)Sets the data payload of this frame. -
Uses of ChannelBuffer in org.jboss.netty.handler.ssl
Methods in org.jboss.netty.handler.ssl with parameters of type ChannelBuffer Modifier and Type Method Description protected ObjectSslHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in)static booleanSslHandler. isEncrypted(ChannelBuffer buffer)Returnstrueif the givenChannelBufferis encrypted.
-