Uses of Interface
org.jboss.netty.buffer.ChannelBuffer
Packages that use ChannelBuffer
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
This package contains an example web socket web server.
Encoder and decoder which transform a
Base64-encoded
String or ChannelBuffer
into a decoded ChannelBuffer and vice versa.Encoder and decoder which compresses and decompresses
ChannelBuffers
in a compression format such as zlib
and gzip.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.
Encoder, decoder and their related message types for HTTP.
HTTP multipart support.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Decoder and Encoder which uses JBoss Marshalling.
Encoder and decoder which transform a
Google Protocol Buffers
Message into a ChannelBuffer
and vice versa.Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm.An RTSP
extension based on the HTTP codec.
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa.Encoder, decoder and their related message types for Socks.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
Logs a
ChannelEvent for debugging purpose
using an InternalLogger.-
Uses of ChannelBuffer in org.jboss.netty.buffer
Subinterfaces of ChannelBuffer in org.jboss.netty.bufferModifier and TypeInterfaceDescriptioninterfaceThe common interface for buffer wrappers and derived buffers.Classes in org.jboss.netty.buffer that implement ChannelBufferModifier and TypeClassDescriptionclassA skeletal implementation of a buffer.classA big-endian Java heap buffer.classA NIOByteBufferbased buffer.classA virtual buffer which shows multiple buffers as a single merged buffer.classA derived buffer which simply forwards all data access requests to its parent.classA dynamic capacity buffer which increases its capacity as needed.classAn immutable empty buffer implementation.classA skeletal implementation for Java heap buffers.classA little-endian Java heap buffer.classA derived buffer which forbids any write requests to its parent.classA derived buffer which exposes its parent's sub-region only.classA derived buffer which hides its parent's tail data beyond a certain index.Subinterfaces with type arguments of type ChannelBuffer in org.jboss.netty.bufferModifier and TypeInterfaceDescriptioninterfaceA random and sequential accessible sequence of zero or more bytes (octets).Fields in org.jboss.netty.buffer declared as ChannelBufferModifier and TypeFieldDescriptionprivate final ChannelBufferChannelBufferInputStream.bufferprivate final ChannelBufferChannelBufferOutputStream.bufferprivate final ChannelBufferDuplicatedChannelBuffer.bufferprivate ChannelBufferDynamicChannelBuffer.bufferprivate final ChannelBufferReadOnlyChannelBuffer.bufferprivate final ChannelBufferSlicedChannelBuffer.bufferprivate final ChannelBufferTruncatedChannelBuffer.bufferprivate ChannelBuffer[]CompositeChannelBuffer.componentsstatic final ChannelBufferChannelBuffers.EMPTY_BUFFERA buffer whose capacity is0.private ChannelBufferDirectChannelBufferFactory.preallocatedBEBufprivate ChannelBufferDirectChannelBufferFactory.preallocatedLEBufMethods in org.jboss.netty.buffer that return ChannelBufferModifier and TypeMethodDescriptionprivate ChannelBufferDirectChannelBufferFactory.allocateBigEndianBuffer(int capacity) private ChannelBufferDirectChannelBufferFactory.allocateLittleEndianBuffer(int capacity) ChannelBufferOutputStream.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 ChannelBufferCreates a new Java heap buffer with the specifiedendiannessandcapacity.private static ChannelBufferChannelBuffers.compositeBuffer(ByteOrder endianness, 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, 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.private static ChannelBufferChannelBuffers.copiedBuffer(ByteOrder endianness, CharBuffer buffer, 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.AbstractChannelBuffer.copy()BigEndianHeapChannelBuffer.copy(int index, int length) ByteBufferBackedChannelBuffer.copy(int index, int length) ChannelBuffer.copy()Returns a copy of this buffer's readable bytes.ChannelBuffer.copy(int index, int length) Returns a copy of this buffer's sub-region.CompositeChannelBuffer.copy(int index, int length) DuplicatedChannelBuffer.copy(int index, int length) DynamicChannelBuffer.copy(int index, int length) LittleEndianHeapChannelBuffer.copy(int index, int length) ReadOnlyChannelBuffer.copy(int index, int length) SlicedChannelBuffer.copy(int index, int length) TruncatedChannelBuffer.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.BigEndianHeapChannelBuffer.duplicate()ByteBufferBackedChannelBuffer.duplicate()ChannelBuffer.duplicate()Returns a buffer which shares the whole region of this buffer.CompositeChannelBuffer.duplicate()DuplicatedChannelBuffer.duplicate()DynamicChannelBuffer.duplicate()LittleEndianHeapChannelBuffer.duplicate()ReadOnlyChannelBuffer.duplicate()SlicedChannelBuffer.duplicate()TruncatedChannelBuffer.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) AbstractChannelBufferFactory.getBuffer(byte[] array, int offset, int length) AbstractChannelBufferFactory.getBuffer(int capacity) ChannelBufferFactory.getBuffer(byte[] array, int offset, int length) Returns aChannelBufferwhose content is equal to the sub-region of the specifiedarray.ChannelBufferFactory.getBuffer(int capacity) Returns aChannelBufferwith the specifiedcapacity.ChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) Returns aChannelBufferwhose content is equal to the sub-region of the specifiednioBuffer.Returns aChannelBufferwhose content is equal to the sub-region of the specifiedarray.CompositeChannelBuffer.getBuffer(int index) DirectChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) HeapChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) static ChannelBufferCreate aChannelBufferfrom the given hex dumpAbstractChannelBuffer.readBytes(int length) ChannelBuffer.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).EmptyChannelBuffer.readBytes(int length) AbstractChannelBuffer.readSlice(int length) ChannelBuffer.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).EmptyChannelBuffer.readSlice(int length) AbstractChannelBuffer.slice()ByteBufferBackedChannelBuffer.slice(int index, int length) ChannelBuffer.slice()Returns a slice of this buffer's readable bytes.ChannelBuffer.slice(int index, int length) Returns a slice of this buffer's sub-region.CompositeChannelBuffer.slice(int index, int length) DuplicatedChannelBuffer.slice(int index, int length) DynamicChannelBuffer.slice(int index, int length) HeapChannelBuffer.slice(int index, int length) ReadOnlyChannelBuffer.slice(int index, int length) SlicedChannelBuffer.slice(int index, int length) TruncatedChannelBuffer.slice(int index, int length) static ChannelBufferChannelBuffers.unmodifiableBuffer(ChannelBuffer buffer) Creates a read-only buffer which disallows any modification operations on the specifiedbuffer.DuplicatedChannelBuffer.unwrap()ReadOnlyChannelBuffer.unwrap()SlicedChannelBuffer.unwrap()TruncatedChannelBuffer.unwrap()WrappedChannelBuffer.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 ChannelBufferModifier and TypeMethodDescriptionCompositeChannelBuffer.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 ChannelBufferModifier and TypeMethodDescriptionstatic intChannelBuffers.compare(ChannelBuffer bufferA, ChannelBuffer bufferB) Compares the two specified buffers as described inChannelBuffer.compareTo(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 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 ofChannelBuffer.indexOf(int, int, byte).static intChannelBuffers.indexOf(ChannelBuffer buffer, int fromIndex, int toIndex, ChannelBufferIndexFinder indexFinder) The default implementation ofChannelBuffer.indexOf(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 ChannelBufferModifier and TypeMethodDescriptionprivate static ChannelBufferChannelBuffers.compositeBuffer(ByteOrder endianness, List<ChannelBuffer> components, boolean gathering) private voidCompositeChannelBuffer.setComponents(List<ChannelBuffer> newComponents) Setup this ChannelBuffer from the listConstructors in org.jboss.netty.buffer with parameters of type ChannelBufferModifierConstructorDescriptionCreates 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.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 ChannelBufferModifierConstructorDescriptionCompositeChannelBuffer(ByteOrder endianness, 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 ChannelBufferModifier and TypeMethodDescriptionprivate static ChannelBufferHttpTunnelingServlet.read(PushbackInputStream in) Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelBufferModifier and TypeMethodDescription(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 ChannelBufferModifier and TypeMethodDescriptionprivate SocketSendBufferPool.SendBufferSocketSendBufferPool.acquire(ChannelBuffer src) -
Uses of ChannelBuffer in org.jboss.netty.example.discard
Methods in org.jboss.netty.example.discard that return ChannelBuffer -
Uses of ChannelBuffer in org.jboss.netty.example.echo
Fields in org.jboss.netty.example.echo declared as ChannelBuffer -
Uses of ChannelBuffer in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeMethodDescriptionstatic ChannelBufferWebSocketServerIndexPage.getContent(String webSocketLocation) -
Uses of ChannelBuffer in org.jboss.netty.example.portunification
Methods in org.jboss.netty.example.portunification with parameters of type ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeMethodDescriptionstatic 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 ChannelBufferModifier and TypeMethodDescriptionstatic 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 -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.frame
Fields in org.jboss.netty.handler.codec.frame declared as ChannelBufferModifier and TypeFieldDescriptionprotected ChannelBufferFrameDecoder.cumulationprivate final ChannelBuffer[]DelimiterBasedFrameDecoder.delimitersMethods in org.jboss.netty.handler.codec.frame that return ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeMethodDescriptionprotected ChannelBufferFrameDecoder.appendToCumulation(ChannelBuffer input) private voidFrameDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, SocketAddress remoteAddress) 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.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 ChannelBufferModifierConstructorDescriptionDelimiterBasedFrameDecoder(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 ChannelBufferModifier and TypeFieldDescriptionprivate ChannelBufferDefaultHttpChunk.contentprivate ChannelBufferDefaultHttpMessage.contentprivate ChannelBufferHttpMessageDecoder.contentprivate static final ChannelBufferHttpChunkAggregator.CONTINUEprivate static final ChannelBufferHttpMessageEncoder.LAST_CHUNKFields in org.jboss.netty.handler.codec.http with type parameters of type ChannelBufferModifier and TypeFieldDescriptionprivate DecoderEmbedder<ChannelBuffer> HttpContentDecoder.decoderprivate EncoderEmbedder<ChannelBuffer> HttpContentEncoder.encoderMethods in org.jboss.netty.handler.codec.http that return ChannelBufferModifier and TypeMethodDescriptionprivate ChannelBufferHttpContentDecoder.decode(ChannelBuffer buf) private ChannelBufferHttpContentEncoder.encode(ChannelBuffer buf) private ChannelBufferHttpContentDecoder.finishDecode()private ChannelBufferHttpContentEncoder.finishEncode()DefaultHttpChunk.getContent()DefaultHttpChunkTrailer.getContent()DefaultHttpMessage.getContent()HttpChunk.getContent()Returns the content of this chunk.HttpMessage.getContent()Returns the content of this message.Methods in org.jboss.netty.handler.codec.http that return types with arguments of type ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeMethodDescriptionprotected voidHttpChunkAggregator.appendToCumulation(ChannelBuffer input) protected ObjectHttpClientCodec.Decoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) private ChannelBufferHttpContentDecoder.decode(ChannelBuffer buf) protected ObjectHttpMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) private ChannelBufferHttpContentEncoder.encode(ChannelBuffer buf) protected static voidHttpMessageEncoder.encodeAscii(String s, ChannelBuffer buf) private static voidHttpMessageEncoder.encodeHeader(ChannelBuffer buf, String header, 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 ObjectHttpMessageDecoder.readFixedLengthContent(ChannelBuffer buffer) private StringHttpMessageDecoder.readHeader(ChannelBuffer buffer) private HttpMessageDecoder.StateHttpMessageDecoder.readHeaders(ChannelBuffer buffer) private static 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 ChannelBufferModifierConstructorDescriptionDefaultHttpChunk(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 ChannelBufferModifier and TypeFieldDescription(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 ChannelBufferModifier and TypeMethodDescriptionprivate ChannelBufferHttpPostRequestEncoder.fillChannelBuffer()AbstractDiskHttpData.getChannelBuffer()AbstractMemoryHttpData.getChannelBuffer()Utility to go from a In Memory FileUpload to a Disk (or another implementation) FileUploadHttpData.getChannelBuffer()Returns the content of the file item as a ChannelBufferMixedAttribute.getChannelBuffer()MixedFileUpload.getChannelBuffer()AbstractDiskHttpData.getChunk(int length) AbstractMemoryHttpData.getChunk(int length) HttpData.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.MixedAttribute.getChunk(int length) MixedFileUpload.getChunk(int length) InternalAttribute.toChannelBuffer()Methods in org.jboss.netty.handler.codec.http.multipart with parameters of type ChannelBufferModifier and TypeMethodDescriptionvoidAbstractDiskHttpData.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 -
Uses of ChannelBuffer in org.jboss.netty.handler.codec.http.websocketx
Fields in org.jboss.netty.handler.codec.http.websocketx declared as ChannelBufferModifier and TypeFieldDescriptionprivate ChannelBufferWebSocketFrame.binaryDataContents of this frameprivate ChannelBufferWebSocketClientHandshaker00.expectedChallengeResponseBytesprivate ChannelBufferWebSocket08FrameDecoder.framePayloadprivate ChannelBufferWebSocket08FrameDecoder.maskingKeyMethods in org.jboss.netty.handler.codec.http.websocketx that return ChannelBufferModifier and TypeMethodDescriptionWebSocketFrame.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 ChannelBufferModifier and TypeMethodDescription(package private) static StringWebSocketUtil.base64(ChannelBuffer buffer) Base 64 encodingprotected 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) 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 ChannelBufferModifierConstructorDescriptionBinaryWebSocketFrame(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 ChannelBufferModifier and TypeFieldDescriptionprivate final ChannelBufferChannelBufferByteInput.bufferprivate final ChannelBufferChannelBufferByteOutput.bufferMethods in org.jboss.netty.handler.codec.marshalling that return ChannelBufferModifier and TypeMethodDescriptionprotected ChannelBufferMarshallingDecoder.extractFrame(ChannelBuffer buffer, int index, int length) ChannelBufferByteOutput.getBuffer()Return theChannelBufferwhich contains the written contentMethods in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBufferModifier and TypeMethodDescriptionprotected 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) Constructors in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBufferModifierConstructorDescriptionChannelBufferByteInput(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 ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferMethods in org.jboss.netty.handler.codec.replay that return ChannelBufferModifier and TypeMethodDescriptionprivate ChannelBufferReplayingDecoderBuffer.buf()ReplayingDecoderBuffer.copy()ReplayingDecoderBuffer.copy(int index, int length) ReplayingDecoderBuffer.duplicate()protected ChannelBufferReplayingDecoder.internalBuffer()ReplayingDecoderBuffer.readBytes(int length) ReplayingDecoderBuffer.readSlice(int length) ReplayingDecoderBuffer.slice()ReplayingDecoderBuffer.slice(int index, int length) Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelBufferModifier and TypeMethodDescriptionprivate voidReplayingDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, SocketAddress remoteAddress) intReplayingDecoderBuffer.compareTo(ChannelBuffer buffer) protected final 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 final 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.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 ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeFieldDescriptionprivate final AtomicReference<ChannelBuffer> CompatibleObjectEncoder.bufferMethods in org.jboss.netty.handler.codec.serialization that return ChannelBufferModifier and TypeMethodDescriptionprivate 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 ChannelBufferModifier and TypeMethodDescriptionprotected 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 ChannelBufferModifier and TypeMethodDescriptionprotected ObjectSocksAuthRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state) protected ObjectSocksAuthResponseDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state) protected ObjectSocksCmdRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state) protected ObjectSocksCmdResponseDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state) protected ObjectSocksInitRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, 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
Fields in org.jboss.netty.handler.codec.spdy declared as ChannelBufferModifier and TypeFieldDescriptionprivate ChannelBufferSpdyHeaderBlockRawDecoder.cumulationprivate ChannelBufferDefaultSpdyDataFrame.dataprivate ChannelBufferSpdyHeaderBlockZlibDecoder.decompressedMethods in org.jboss.netty.handler.codec.spdy that return ChannelBufferModifier and TypeMethodDescription(package private) abstract ChannelBufferSpdyHeaderBlockEncoder.encode(SpdyHeadersFrame frame) SpdyHeaderBlockJZlibEncoder.encode(SpdyHeadersFrame frame) SpdyHeaderBlockRawEncoder.encode(SpdyHeadersFrame headerFrame) SpdyHeaderBlockZlibEncoder.encode(SpdyHeadersFrame frame) SpdyFrameEncoder.encodeDataFrame(int streamId, boolean last, ChannelBuffer data) SpdyFrameEncoder.encodeGoAwayFrame(int lastGoodStreamId, int statusCode) SpdyFrameEncoder.encodeHeadersFrame(int streamId, boolean last, ChannelBuffer headerBlock) SpdyFrameEncoder.encodePingFrame(int id) SpdyFrameEncoder.encodeRstStreamFrame(int streamId, int statusCode) SpdyFrameEncoder.encodeSettingsFrame(SpdySettingsFrame spdySettingsFrame) SpdyFrameEncoder.encodeSynReplyFrame(int streamId, boolean last, ChannelBuffer headerBlock) SpdyFrameEncoder.encodeSynStreamFrame(int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ChannelBuffer headerBlock) SpdyFrameEncoder.encodeWindowUpdateFrame(int streamId, int deltaWindowSize) DefaultSpdyDataFrame.getData()SpdyDataFrame.getData()Returns the data payload of this frame.Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelBufferModifier and TypeMethodDescriptionprivate booleanSpdyHeaderBlockZlibEncoder.compressInto(ChannelBuffer compressed) private SpdyDataFrame[]SpdyHttpEncoder.createSpdyDataFrames(int streamId, ChannelBuffer content) protected 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) SpdyFrameEncoder.encodeDataFrame(int streamId, boolean last, ChannelBuffer data) SpdyFrameEncoder.encodeHeadersFrame(int streamId, boolean last, ChannelBuffer headerBlock) SpdyFrameEncoder.encodeSynReplyFrame(int streamId, boolean last, ChannelBuffer headerBlock) SpdyFrameEncoder.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 ChannelBufferModifier and TypeMethodDescriptionprivate static StringLoggingHandler.formatBuffer(ChannelBuffer buf) -
Uses of ChannelBuffer in org.jboss.netty.handler.ssl
Methods in org.jboss.netty.handler.ssl that return ChannelBufferModifier and TypeMethodDescription(package private) static ChannelBuffer[]PemReader.readCertificates(File file) (package private) static ChannelBufferPemReader.readPrivateKey(File file) private ChannelBufferSslHandler.unwrap(ChannelHandlerContext ctx, Channel channel, ByteBuffer nioInNetBuf, int initialNettyOutAppBufCapacity, boolean mightNeedHandshake) Unwraps inbound SSL records.Methods in org.jboss.netty.handler.ssl with parameters of type ChannelBufferModifier and TypeMethodDescriptionprotected 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.