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.channel.socket.http An HTTP-based client-sideSocketChanneland its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).org.jboss.netty.example.discard org.jboss.netty.example.echo 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.compression Encoder and decoder which compresses and decompressesChannelBuffers in a compression format such as zlib and gzip.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.logging Logs aChannelEventfor debugging purpose using anInternalLogger.org.jboss.netty.handler.ssl SSL · TLS implementation based onSSLEngine -
-
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 private ChannelBufferChannelBufferInputStream. bufferprivate ChannelBufferChannelBufferOutputStream. bufferprivate ChannelBufferDuplicatedChannelBuffer. bufferprivate ChannelBufferDynamicChannelBuffer. bufferprivate ChannelBufferReadOnlyChannelBuffer. bufferprivate ChannelBufferSlicedChannelBuffer. bufferprivate ChannelBufferTruncatedChannelBuffer. bufferprivate ChannelBuffer[]CompositeChannelBuffer. componentsstatic ChannelBufferChannelBuffers. EMPTY_BUFFERA buffer whose capacity is0.private ChannelBufferDirectChannelBufferFactory. preallocatedBEBufprivate ChannelBufferDirectChannelBufferFactory. preallocatedLEBufMethods in org.jboss.netty.buffer that return ChannelBuffer Modifier and Type Method Description private ChannelBufferDirectChannelBufferFactory. allocateBigEndianBuffer(int capacity)private ChannelBufferDirectChannelBufferFactory. allocateLittleEndianBuffer(int capacity)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(java.nio.ByteOrder endianness, int capacity)Creates a new Java heap buffer with the specifiedendiannessandcapacity.private static ChannelBufferChannelBuffers. compositeBuffer(java.nio.ByteOrder endianness, java.util.List<ChannelBuffer> components, boolean gathering)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, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(char[] array, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.lang.CharSequence string, int offset, int length, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is a subregion of the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.lang.CharSequence string, java.nio.charset.Charset charset)Creates a new big-endian buffer whose content is the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteBuffer buffer)Creates a new buffer whose content is a copy of the specifiedbuffer's current slice.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteBuffer... buffers)Creates a new buffer whose content is a merged copy of the specifiedbuffers' slices.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, byte[] array)Creates a new buffer with the specifiedendiannesswhose content is a copy of the specifiedarray.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, byte[]... arrays)Creates a new buffer with the specifiedendiannesswhose content is a merged copy of the specifiedarrays.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.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(java.nio.ByteOrder endianness, char[] array, int offset, int length, java.nio.charset.Charset charset)Creates a new buffer with the specifiedendiannesswhose content is a subregion of the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, char[] array, java.nio.charset.Charset charset)Creates a new buffer with the specifiedendiannesswhose content is the specifiedarrayencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, java.lang.CharSequence string, int offset, int length, java.nio.charset.Charset charset)Creates a new buffer with the specifiedendiannesswhose content is a subregion of the specifiedstringencoded in the specifiedcharset.static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, java.lang.CharSequence string, java.nio.charset.Charset charset)Creates a new buffer with the specifiedendiannesswhose content is the specifiedstringencoded in the specifiedcharset.private static ChannelBufferChannelBuffers. copiedBuffer(java.nio.ByteOrder endianness, java.nio.CharBuffer buffer, java.nio.charset.Charset charset)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(java.nio.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(java.nio.ByteOrder endianness, int estimatedLength)Creates a new dynamic buffer with the specified endianness and the specified estimated data length.static ChannelBufferChannelBuffers. dynamicBuffer(java.nio.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(java.nio.ByteBuffer nioBuffer)Returns aChannelBufferwhose content is equal to the sub-region of the specifiednioBuffer.ChannelBufferChannelBufferFactory. getBuffer(java.nio.ByteOrder endianness, byte[] array, int offset, int length)Returns aChannelBufferwhose content is equal to the sub-region of the specifiedarray.ChannelBufferChannelBufferFactory. getBuffer(java.nio.ByteOrder endianness, int capacity)ChannelBufferCompositeChannelBuffer. getBuffer(int index)ChannelBufferDirectChannelBufferFactory. getBuffer(java.nio.ByteBuffer nioBuffer)ChannelBufferDirectChannelBufferFactory. getBuffer(java.nio.ByteOrder order, byte[] array, int offset, int length)ChannelBufferDirectChannelBufferFactory. getBuffer(java.nio.ByteOrder order, int capacity)ChannelBufferHeapChannelBufferFactory. getBuffer(java.nio.ByteBuffer nioBuffer)ChannelBufferHeapChannelBufferFactory. getBuffer(java.nio.ByteOrder order, byte[] array, int offset, int length)ChannelBufferHeapChannelBufferFactory. getBuffer(java.nio.ByteOrder order, int capacity)static ChannelBufferChannelBuffers. hexDump(java.lang.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, java.nio.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(java.nio.ByteBuffer buffer)Creates a new buffer which wraps the specified NIO buffer's current slice.static ChannelBufferChannelBuffers. wrappedBuffer(java.nio.ByteBuffer... buffers)Creates a new composite buffer which wraps the slices of the specified NIO buffers without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(java.nio.ByteOrder endianness, byte[] array)Creates a new buffer which wraps the specifiedarraywith the specifiedendianness.static ChannelBufferChannelBuffers. wrappedBuffer(java.nio.ByteOrder endianness, byte[]... arrays)Creates a new composite buffer which wraps the specified arrays without copying them.static ChannelBufferChannelBuffers. wrappedBuffer(java.nio.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 java.util.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.private voidCompositeChannelBuffer. copyTo(int index, int length, int componentId, ChannelBuffer dst)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.private static intChannelBuffers. firstIndexOf(ChannelBuffer buffer, int fromIndex, int toIndex, byte value)private static intChannelBuffers. firstIndexOf(ChannelBuffer buffer, int fromIndex, int toIndex, ChannelBufferIndexFinder indexFinder)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 java.lang.StringChannelBuffers. hexDump(ChannelBuffer buffer)Returns a hex dump of the specified buffer's readable bytes.static java.lang.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).private static intChannelBuffers. lastIndexOf(ChannelBuffer buffer, int fromIndex, int toIndex, byte value)private static intChannelBuffers. lastIndexOf(ChannelBuffer buffer, int fromIndex, int toIndex, ChannelBufferIndexFinder indexFinder)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)Method parameters in org.jboss.netty.buffer with type arguments of type ChannelBuffer Modifier and Type Method Description private static ChannelBufferChannelBuffers. compositeBuffer(java.nio.ByteOrder endianness, java.util.List<ChannelBuffer> components, boolean gathering)private voidCompositeChannelBuffer. setComponents(java.util.List<ChannelBuffer> newComponents)Setup this ChannelBuffer from the listConstructors 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(java.nio.ByteOrder endianness, java.util.List<ChannelBuffer> buffers, boolean gathering) -
Uses of ChannelBuffer in org.jboss.netty.channel.socket.http
Methods in org.jboss.netty.channel.socket.http that return ChannelBuffer Modifier and Type Method Description private static ChannelBufferHttpTunnelingServlet. read(java.io.PushbackInputStream in)Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelBuffer Modifier and Type Method Description (package private) voidHttpTunnelingClientSocketChannel. writeReal(ChannelBuffer a, ChannelFuture future) -
Uses of ChannelBuffer in org.jboss.netty.channel.socket.nio
Methods in org.jboss.netty.channel.socket.nio with parameters of type ChannelBuffer Modifier and Type Method Description private SocketSendBufferPool.SendBufferSocketSendBufferPool. acquire(ChannelBuffer src) -
Uses of ChannelBuffer in org.jboss.netty.example.discard
Methods in org.jboss.netty.example.discard that return ChannelBuffer Modifier and Type Method Description private ChannelBufferDiscardClientHandler. nextMessage() -
Uses of ChannelBuffer in org.jboss.netty.example.echo
Fields in org.jboss.netty.example.echo declared as ChannelBuffer Modifier and Type Field Description private ChannelBufferEchoClientHandler. firstMessage -
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 java.lang.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(java.lang.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 java.lang.ObjectPortUnificationServerHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)private booleanPortUnificationServerHandler. isSsl(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)private static intBase64. decode4to3(byte[] src, int srcOffset, ChannelBuffer dest, int destOffset, Base64Dialect dialect)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)private static voidBase64. encode3to4(ChannelBuffer src, int srcOffset, int numSigBytes, ChannelBuffer dest, int destOffset, Base64Dialect dialect) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.compression
Methods in org.jboss.netty.handler.codec.compression with parameters of type ChannelBuffer Modifier and Type Method Description private voidJdkZlibEncoder. deflate(ChannelBuffer out) -
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. cumulationprivate ChannelBuffer[]DelimiterBasedFrameDecoder. delimitersMethods 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)private voidFrameDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, java.net.SocketAddress remoteAddress)protected java.lang.ObjectDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract java.lang.ObjectFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)Decodes the received packets so far into a frame.protected java.lang.ObjectLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.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.private static intLineBasedFrameDecoder. findEndOfLine(ChannelBuffer buffer)Returns the index in the buffer of the end of line found.private static intDelimiterBasedFrameDecoder. indexOf(ChannelBuffer haystack, ChannelBuffer needle)Returns the number of bytes between the readerIndex of the haystack and the first needle found in the haystack.private static booleanDelimiterBasedFrameDecoder. isLineBased(ChannelBuffer[] delimiters)Returns true if the delimiters are "\n" and "\r\n".protected ChannelBufferFrameDecoder. updateCumulation(ChannelHandlerContext ctx, ChannelBuffer input)private static voidDelimiterBasedFrameDecoder. validateDelimiter(ChannelBuffer delimiter)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
Fields in org.jboss.netty.handler.codec.http declared as ChannelBuffer Modifier and Type Field Description private ChannelBufferDefaultHttpChunk. contentprivate ChannelBufferDefaultHttpMessage. contentprivate ChannelBufferHttpMessageDecoder. contentprivate static ChannelBufferHttpChunkAggregator. CONTINUEprivate static ChannelBufferHttpMessageEncoder. LAST_CHUNKFields in org.jboss.netty.handler.codec.http with type parameters of type ChannelBuffer Modifier and Type Field Description private DecoderEmbedder<ChannelBuffer>HttpContentDecoder. decoderprivate EncoderEmbedder<ChannelBuffer>HttpContentEncoder. encoderMethods in org.jboss.netty.handler.codec.http that return ChannelBuffer Modifier and Type Method Description private ChannelBufferHttpContentDecoder. decode(ChannelBuffer buf)private ChannelBufferHttpContentEncoder. encode(ChannelBuffer buf)private ChannelBufferHttpContentDecoder. finishDecode()private ChannelBufferHttpContentEncoder. finishEncode()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(java.lang.String contentEncoding)Returns a newDecoderEmbedderthat decodes the HTTP message content encoded in the specified contentEncoding.protected DecoderEmbedder<ChannelBuffer>HttpContentDecompressor. newContentDecoder(java.lang.String contentEncoding)protected EncoderEmbedder<ChannelBuffer>HttpContentCompressor. newContentEncoder(HttpMessage msg, java.lang.String acceptEncoding)protected abstract EncoderEmbedder<ChannelBuffer>HttpContentEncoder. newContentEncoder(HttpMessage msg, java.lang.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 java.lang.ObjectHttpClientCodec.Decoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)private ChannelBufferHttpContentDecoder. decode(ChannelBuffer buf)protected java.lang.ObjectHttpMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)private ChannelBufferHttpContentEncoder. encode(ChannelBuffer buf)protected static voidHttpMessageEncoder. encodeAscii(java.lang.String s, ChannelBuffer buf)private static voidHttpMessageEncoder. encodeHeader(ChannelBuffer buf, java.lang.String header, java.lang.String value)private static voidHttpMessageEncoder. encodeHeaders(ChannelBuffer buf, HttpMessage message)protected abstract voidHttpMessageEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)protected voidHttpRequestEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)protected voidHttpResponseEncoder. encodeInitialLine(ChannelBuffer buf, HttpMessage message)private static voidHttpMessageEncoder. encodeTrailingHeaders(ChannelBuffer buf, HttpChunkTrailer trailer)private java.lang.ObjectHttpMessageDecoder. readFixedLengthContent(ChannelBuffer buffer)private java.lang.StringHttpMessageDecoder. readHeader(ChannelBuffer buffer)private HttpMessageDecoder.StateHttpMessageDecoder. readHeaders(ChannelBuffer buffer)private static java.lang.StringHttpMessageDecoder. readLine(ChannelBuffer buffer, int maxLineLength)private HttpChunkTrailerHttpMessageDecoder. readTrailingHeaders(ChannelBuffer buffer)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.private static voidHttpMessageDecoder. skipControlCharacters(ChannelBuffer buffer)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
Fields in org.jboss.netty.handler.codec.http.multipart declared as ChannelBuffer Modifier and Type Field Description (package private) ChannelBufferHttpPostBodyUtil.SeekAheadOptimize. bufferprivate ChannelBufferAbstractMemoryHttpData. channelBufferprivate ChannelBufferHttpPostRequestEncoder. currentBufferThe ChannelBuffer currently used by the encoderprivate ChannelBufferHttpPostMultipartRequestDecoder. undecodedChunkThe current channelBufferprivate ChannelBufferHttpPostStandardRequestDecoder. undecodedChunkThe current channelBufferMethods in org.jboss.netty.handler.codec.http.multipart that return ChannelBuffer Modifier and Type Method Description private ChannelBufferHttpPostRequestEncoder. fillChannelBuffer()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)private voidHttpPostStandardRequestDecoder. setFinalBuffer(ChannelBuffer buffer)Constructors in org.jboss.netty.handler.codec.http.multipart with parameters of type ChannelBuffer Constructor Description SeekAheadOptimize(ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.http.websocketx
Fields in org.jboss.netty.handler.codec.http.websocketx declared as ChannelBuffer Modifier and Type Field Description private ChannelBufferWebSocketFrame. binaryDataContents of this frameprivate ChannelBufferWebSocketClientHandshaker00. expectedChallengeResponseBytesprivate ChannelBufferWebSocket08FrameDecoder. framePayloadprivate ChannelBufferWebSocket08FrameDecoder. maskingKeyMethods in org.jboss.netty.handler.codec.http.websocketx that return ChannelBuffer Modifier and Type Method Description ChannelBufferWebSocketFrame. getBinaryData()Returns binary data(package private) static ChannelBufferWebSocketUtil. md5(ChannelBuffer buffer)Performs an MD5 hash(package private) static ChannelBufferWebSocketUtil. sha1(ChannelBuffer buffer)Performs an SHA-1 hashMethods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelBuffer Modifier and Type Method Description (package private) static java.lang.StringWebSocketUtil. base64(ChannelBuffer buffer)Base 64 encodingprotected voidWebSocket08FrameDecoder. checkCloseFrameBody(Channel channel, ChannelBuffer buffer)protected java.lang.ObjectWebSocket00FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected java.lang.ObjectWebSocket08FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state)private WebSocketFrameWebSocket00FrameDecoder. decodeBinaryFrame(byte type, ChannelBuffer buffer)private WebSocketFrameWebSocket00FrameDecoder. decodeTextFrame(ChannelBuffer buffer)(package private) static ChannelBufferWebSocketUtil. md5(ChannelBuffer buffer)Performs an MD5 hashvoidWebSocketFrame. setBinaryData(ChannelBuffer binaryData)Sets the binary data for this frame(package private) static ChannelBufferWebSocketUtil. sha1(ChannelBuffer buffer)Performs an SHA-1 hashprivate voidWebSocket08FrameDecoder. unmask(ChannelBuffer frame)Constructors 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
Fields in org.jboss.netty.handler.codec.marshalling declared as ChannelBuffer Modifier and Type Field Description private ChannelBufferChannelBufferByteInput. bufferprivate ChannelBufferChannelBufferByteOutput. bufferMethods in org.jboss.netty.handler.codec.marshalling that return ChannelBuffer Modifier and Type Method Description protected ChannelBufferMarshallingDecoder. extractFrame(ChannelBuffer buffer, int index, int length)ChannelBufferChannelBufferByteOutput. getBuffer()Return theChannelBufferwhich contains the written contentMethods in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBuffer Modifier and Type Method Description protected java.lang.ObjectCompatibleMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected java.lang.ObjectMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectCompatibleMarshallingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected ChannelBufferMarshallingDecoder. extractFrame(ChannelBuffer buffer, int index, int length)Constructors in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBuffer Constructor Description ChannelBufferByteInput(ChannelBuffer buffer)ChannelBufferByteOutput(ChannelBuffer buffer)Create a new instance which use the givenChannelBuffer -
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 java.lang.ObjectProtobufVarint32FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.replay
Classes in org.jboss.netty.handler.codec.replay that implement ChannelBuffer Modifier and Type Class Description (package private) classReplayingDecoderBufferMethods in org.jboss.netty.handler.codec.replay that return ChannelBuffer Modifier and Type Method Description private ChannelBufferReplayingDecoderBuffer. buf()ChannelBufferReplayingDecoderBuffer. copy()ChannelBufferReplayingDecoderBuffer. copy(int index, int length)ChannelBufferReplayingDecoderBuffer. duplicate()protected ChannelBufferReplayingDecoder. internalBuffer()ChannelBufferReplayingDecoderBuffer. readBytes(int length)ChannelBufferReplayingDecoderBuffer. readSlice(int length)ChannelBufferReplayingDecoderBuffer. slice()ChannelBufferReplayingDecoderBuffer. slice(int index, int length)Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelBuffer Modifier and Type Method Description private voidReplayingDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, java.net.SocketAddress remoteAddress)intReplayingDecoderBuffer. compareTo(ChannelBuffer buffer)protected java.lang.ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract java.lang.ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received packets so far into a frame.protected java.lang.ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received data so far into a frame when the channel is disconnected.voidReplayingDecoderBuffer. getBytes(int index, ChannelBuffer dst)voidReplayingDecoderBuffer. getBytes(int index, ChannelBuffer dst, int length)voidReplayingDecoderBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidReplayingDecoderBuffer. readBytes(ChannelBuffer dst)voidReplayingDecoderBuffer. readBytes(ChannelBuffer dst, int length)voidReplayingDecoderBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidReplayingDecoderBuffer. setBytes(int index, ChannelBuffer src)voidReplayingDecoderBuffer. setBytes(int index, ChannelBuffer src, int length)voidReplayingDecoderBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidReplayingDecoderBuffer. writeBytes(ChannelBuffer src)voidReplayingDecoderBuffer. writeBytes(ChannelBuffer src, int length)voidReplayingDecoderBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length) -
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 java.lang.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
Fields in org.jboss.netty.handler.codec.serialization with type parameters of type ChannelBuffer Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<ChannelBuffer>CompatibleObjectEncoder. bufferMethods in org.jboss.netty.handler.codec.serialization that return ChannelBuffer Modifier and Type Method Description private ChannelBufferCompatibleObjectEncoder. buffer(ChannelHandlerContext ctx)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 java.lang.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 java.lang.ObjectSocksAuthRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state)protected java.lang.ObjectSocksAuthResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state)protected java.lang.ObjectSocksCmdRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state)protected java.lang.ObjectSocksCmdResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state)protected java.lang.ObjectSocksInitRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitRequestDecoder.State state)protected java.lang.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
Fields in org.jboss.netty.handler.codec.spdy declared as ChannelBuffer Modifier and Type Field Description private ChannelBufferSpdyHeaderBlockRawDecoder. cumulationprivate ChannelBufferDefaultSpdyDataFrame. dataprivate ChannelBufferSpdyHeaderBlockZlibDecoder. decompressedMethods in org.jboss.netty.handler.codec.spdy that return ChannelBuffer Modifier and Type Method Description (package private) abstract ChannelBufferSpdyHeaderBlockEncoder. encode(SpdyHeadersFrame frame)ChannelBufferSpdyHeaderBlockJZlibEncoder. encode(SpdyHeadersFrame frame)ChannelBufferSpdyHeaderBlockRawEncoder. encode(SpdyHeadersFrame headerFrame)ChannelBufferSpdyHeaderBlockZlibEncoder. encode(SpdyHeadersFrame frame)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 private booleanSpdyHeaderBlockZlibEncoder. compressInto(ChannelBuffer compressed)private SpdyDataFrame[]SpdyHttpEncoder. createSpdyDataFrames(int streamId, ChannelBuffer content)protected java.lang.ObjectSpdyFrameCodec. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)voidSpdyFrameDecoder. decode(ChannelBuffer buffer)(package private) abstract voidSpdyHeaderBlockDecoder. decode(ChannelBuffer headerBlock, SpdyHeadersFrame frame)Decodes a SPDY Header Block, adding the Name/Value pairs to the given Headers frame.(package private) voidSpdyHeaderBlockRawDecoder. decode(ChannelBuffer headerBlock, SpdyHeadersFrame frame)(package private) voidSpdyHeaderBlockZlibDecoder. decode(ChannelBuffer headerBlock, SpdyHeadersFrame frame)protected voidSpdyHeaderBlockRawDecoder. decodeHeaderBlock(ChannelBuffer headerBlock, SpdyHeadersFrame frame)private voidSpdyHeaderBlockJZlibEncoder. encode(ChannelBuffer compressed)private voidSpdyHeaderBlockZlibEncoder. encode(ChannelBuffer compressed)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)(package private) static intSpdyCodecUtil. getSignedInt(ChannelBuffer buf, int offset)Reads a big-endian signed integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedInt(ChannelBuffer buf, int offset)Reads a big-endian (31-bit) integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedMedium(ChannelBuffer buf, int offset)Reads a big-endian unsigned medium integer from the buffer.(package private) static intSpdyCodecUtil. getUnsignedShort(ChannelBuffer buf, int offset)Reads a big-endian unsigned short integer from the buffer.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.private intSpdyHeaderBlockRawDecoder. readLengthField(ChannelBuffer buffer)voidDefaultSpdyDataFrame. setData(ChannelBuffer data)voidSpdyDataFrame. setData(ChannelBuffer data)Sets the data payload of this frame.private voidSpdyHeaderBlockJZlibEncoder. setInput(ChannelBuffer decompressed)private intSpdyHeaderBlockZlibDecoder. setInput(ChannelBuffer compressed)private intSpdyHeaderBlockZlibEncoder. setInput(ChannelBuffer decompressed)private static voidSpdyHeaderBlockRawEncoder. setLengthField(ChannelBuffer buffer, int writerIndex, int length)private voidSpdyFrameEncoder. writeControlFrameHeader(ChannelBuffer buffer, int type, byte flags, int length)private static voidSpdyHeaderBlockRawEncoder. writeLengthField(ChannelBuffer buffer, int length) -
Uses of ChannelBuffer in org.jboss.netty.handler.logging
Methods in org.jboss.netty.handler.logging with parameters of type ChannelBuffer Modifier and Type Method Description private static java.lang.StringLoggingHandler. formatBuffer(ChannelBuffer buf) -
Uses of ChannelBuffer in org.jboss.netty.handler.ssl
Methods in org.jboss.netty.handler.ssl that return ChannelBuffer Modifier and Type Method Description (package private) static ChannelBuffer[]PemReader. readCertificates(java.io.File file)(package private) static ChannelBufferPemReader. readPrivateKey(java.io.File file)private ChannelBufferSslHandler. unwrap(ChannelHandlerContext ctx, Channel channel, java.nio.ByteBuffer nioInNetBuf, int initialNettyOutAppBufCapacity, boolean mightNeedHandshake)Unwraps inbound SSL records.Methods in org.jboss.netty.handler.ssl with parameters of type ChannelBuffer Modifier and Type Method Description protected java.lang.ObjectSslHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in)private static intSslHandler. getEncryptedPacketLength(ChannelBuffer buffer, int offset)Return how much bytes can be read out of the encrypted data.private static shortSslHandler. getShort(ChannelBuffer buf, int offset)Reads a big-endian short integer from the buffer.static booleanSslHandler. isEncrypted(ChannelBuffer buffer)Returnstrueif the givenChannelBufferis encrypted.
-