|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Buffer in org.glassfish.grizzly |
|---|
| Methods in org.glassfish.grizzly that return Buffer | |
|---|---|
Buffer |
Buffer.asReadOnlyBuffer()
Creates a new, read-only Buffer that shares this buffer's
content. |
Buffer |
Buffer.clear()
Clears this buffer. |
Buffer |
Buffer.compact()
Compacts this buffer (optional operation). |
Buffer |
Buffer.duplicate()
Creates a new Buffer that shares this buffer's content. |
Buffer |
Buffer.flip()
Flips this buffer. |
Buffer |
Buffer.get(byte[] dst)
Relative bulk get method. |
Buffer |
Buffer.get(byte[] dst,
int offset,
int length)
Relative bulk get method. |
Buffer |
Buffer.get(java.nio.ByteBuffer dst)
Relative bulk get method. |
Buffer |
Buffer.get(java.nio.ByteBuffer dst,
int offset,
int length)
Relative bulk get method. |
Buffer |
Buffer.limit(int newLimit)
Sets this buffer's limit. |
Buffer |
Buffer.mark()
Sets this buffer's mark at its position. |
Buffer |
Buffer.order(java.nio.ByteOrder bo)
Modifies this buffer's byte order. |
Buffer |
Buffer.position(int newPosition)
Sets this buffer's position. |
Buffer |
Buffer.prepend(Buffer header)
Prepend data from header.position() to header.limit() to the current buffer. |
Buffer |
Buffer.put(Buffer src)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(Buffer src,
int position,
int length)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(byte b)
Relative put method (optional operation). |
Buffer |
Buffer.put(byte[] src)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(byte[] src,
int offset,
int length)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(java.nio.ByteBuffer src)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(java.nio.ByteBuffer src,
int position,
int length)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(int index,
byte b)
Absolute put method (optional operation). |
Buffer |
Buffer.put8BitString(java.lang.String s)
Relative bulk put method (optional operation). |
Buffer |
Buffer.putChar(char value)
Relative put method for writing a char value (optional operation). |
Buffer |
Buffer.putChar(int index,
char value)
Absolute put method for writing a char value (optional operation). |
Buffer |
Buffer.putDouble(double value)
Relative put method for writing a double value (optional operation). |
Buffer |
Buffer.putDouble(int index,
double value)
Absolute put method for writing a double value (optional operation). |
Buffer |
Buffer.putFloat(float value)
Relative put method for writing a float value (optional operation). |
Buffer |
Buffer.putFloat(int index,
float value)
Absolute put method for writing a float value (optional operation). |
Buffer |
Buffer.putInt(int value)
Relative put method for writing an int value (optional operation). |
Buffer |
Buffer.putInt(int index,
int value)
Absolute put method for writing an int value (optional operation). |
Buffer |
Buffer.putLong(int index,
long value)
Absolute put method for writing a long value (optional operation). |
Buffer |
Buffer.putLong(long value)
Relative put method for writing a long value (optional operation). |
Buffer |
Buffer.putShort(int index,
short value)
Absolute put method for writing a short value (optional operation). |
Buffer |
Buffer.putShort(short value)
Relative put method for writing a short value (optional operation). |
Buffer |
Buffer.reset()
Resets this buffer's position to the previously-marked position. |
Buffer |
Buffer.rewind()
Rewinds this buffer. |
Buffer |
Buffer.slice()
Creates a new Buffer whose content is a shared subsequence
of this buffer's content. |
Buffer |
Buffer.slice(int position,
int limit)
Creates a new Buffer whose content is a shared subsequence of
this buffer's content. |
Buffer |
Buffer.split(int splitPosition)
Split up the buffer into two parts: [0..splitPosition) and [splitPosition, capacity). |
| Methods in org.glassfish.grizzly that return types with arguments of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection)
Method reads data. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection)
Method reads data. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult<Buffer,L>> interceptor)
Method writes the buffer to the specific address. |
| Methods in org.glassfish.grizzly with parameters of type Buffer | |
|---|---|
void |
ConnectionProbe.onReadEvent(Connection connection,
Buffer data,
int size)
Method will be called, when the Connection has read data. |
void |
ConnectionProbe.onWriteEvent(Connection connection,
Buffer data,
int size)
Method will be called, when the Connection has written data. |
Buffer |
Buffer.prepend(Buffer header)
Prepend data from header.position() to header.limit() to the current buffer. |
Buffer |
Buffer.put(Buffer src)
Relative bulk put method (optional operation). |
Buffer |
Buffer.put(Buffer src,
int position,
int length)
Relative bulk put method (optional operation). |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult<Buffer,L>> interceptor)
Method writes the buffer to the specific address. |
| Method parameters in org.glassfish.grizzly with type arguments of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
GrizzlyFuture<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult<Buffer,L>> interceptor)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult<Buffer,L>> interceptor)
Method writes the buffer to the specific address. |
| Uses of Buffer in org.glassfish.grizzly.asyncqueue |
|---|
| Fields in org.glassfish.grizzly.asyncqueue declared as Buffer | |
|---|---|
protected Buffer |
AsyncQueueRecord.message
|
| Methods in org.glassfish.grizzly.asyncqueue that return Buffer | |
|---|---|
Buffer |
AsyncQueueRecord.getMessage()
|
Buffer |
AsyncReadQueueRecord.getRemainderBuffer()
|
| Methods in org.glassfish.grizzly.asyncqueue that return types with arguments of type Buffer | |
|---|---|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Methods in org.glassfish.grizzly.asyncqueue with parameters of type Buffer | |
|---|---|
static AsyncReadQueueRecord |
AsyncReadQueueRecord.create(Connection connection,
Buffer message,
java.util.concurrent.Future future,
ReadResult currentResult,
CompletionHandler completionHandler,
Interceptor<ReadResult> interceptor)
|
static AsyncWriteQueueRecord |
AsyncWriteQueueRecord.create(Connection connection,
Buffer message,
java.util.concurrent.Future future,
WriteResult currentResult,
CompletionHandler completionHandler,
java.lang.Object dstAddress,
boolean isEmptyRecord)
|
protected void |
AsyncQueueRecord.set(Connection connection,
Buffer message,
java.util.concurrent.Future future,
R currentResult,
CompletionHandler completionHandler)
|
protected void |
AsyncWriteQueueRecord.set(Connection connection,
Buffer message,
java.util.concurrent.Future future,
WriteResult currentResult,
CompletionHandler completionHandler,
java.lang.Object dstAddress,
boolean isEmptyRecord)
|
void |
AsyncQueueRecord.setMessage(Buffer message)
|
void |
AsyncReadQueueRecord.setRemainderBuffer(Buffer remainderBuffer)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Method parameters in org.glassfish.grizzly.asyncqueue with type arguments of type Buffer | |
|---|---|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Constructors in org.glassfish.grizzly.asyncqueue with parameters of type Buffer | |
|---|---|
AsyncQueueRecord(Connection connection,
Buffer message,
java.util.concurrent.Future future,
R currentResult,
CompletionHandler completionHandler)
|
|
AsyncWriteQueueRecord(Connection connection,
Buffer message,
java.util.concurrent.Future future,
WriteResult currentResult,
CompletionHandler completionHandler,
java.lang.Object dstAddress,
boolean isEmptyRecord)
|
|
| Uses of Buffer in org.glassfish.grizzly.compression.lzma |
|---|
| Methods in org.glassfish.grizzly.compression.lzma that return Buffer | |
|---|---|
Buffer |
LZMAEncoder.LZMAOutputState.getDst()
|
Buffer |
LZMADecoder.LZMAInputState.getDst()
|
Buffer |
LZMAEncoder.LZMAOutputState.getSrc()
|
Buffer |
LZMADecoder.LZMAInputState.getSrc()
|
| Methods in org.glassfish.grizzly.compression.lzma that return types with arguments of type Buffer | |
|---|---|
protected AbstractTransformer.LastResultAwareState<Buffer,Buffer> |
LZMAEncoder.createStateObject()
|
protected AbstractTransformer.LastResultAwareState<Buffer,Buffer> |
LZMAEncoder.createStateObject()
|
protected AbstractTransformer.LastResultAwareState<Buffer,Buffer> |
LZMADecoder.createStateObject()
|
protected AbstractTransformer.LastResultAwareState<Buffer,Buffer> |
LZMADecoder.createStateObject()
|
protected TransformationResult<Buffer,Buffer> |
LZMAEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
LZMAEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
LZMADecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
LZMADecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
| Methods in org.glassfish.grizzly.compression.lzma with parameters of type Buffer | |
|---|---|
boolean |
LZMAEncoder.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
boolean |
LZMADecoder.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
boolean |
LZMADecoder.LZMAInputState.initialize(Buffer buffer)
|
void |
LZMAEncoder.LZMAOutputState.setDst(Buffer dst)
|
void |
LZMADecoder.LZMAInputState.setDst(Buffer dst)
|
void |
LZMAEncoder.LZMAOutputState.setSrc(Buffer src)
|
void |
LZMADecoder.LZMAInputState.setSrc(Buffer src)
|
protected TransformationResult<Buffer,Buffer> |
LZMAEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
LZMADecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
| Uses of Buffer in org.glassfish.grizzly.compression.lzma.impl |
|---|
| Methods in org.glassfish.grizzly.compression.lzma.impl with parameters of type Buffer | |
|---|---|
void |
Encoder.writeCoderProperties(Buffer dst)
|
| Uses of Buffer in org.glassfish.grizzly.compression.lzma.impl.lz |
|---|
| Methods in org.glassfish.grizzly.compression.lzma.impl.lz with parameters of type Buffer | |
|---|---|
void |
InWindow.setBuffer(Buffer buffer)
|
| Uses of Buffer in org.glassfish.grizzly.compression.lzma.impl.rangecoder |
|---|
| Methods in org.glassfish.grizzly.compression.lzma.impl.rangecoder that return Buffer | |
|---|---|
Buffer |
RangeEncoder.releaseBuffer()
|
| Methods in org.glassfish.grizzly.compression.lzma.impl.rangecoder with parameters of type Buffer | |
|---|---|
void |
RangeEncoder.setBuffer(Buffer dst,
MemoryManager mm)
|
| Uses of Buffer in org.glassfish.grizzly.compression.zip |
|---|
| Methods in org.glassfish.grizzly.compression.zip that return Buffer | |
|---|---|
protected Buffer |
GZipEncoder.deflate(java.util.zip.Deflater deflater,
MemoryManager memoryManager)
Writes next block of compressed data to the output stream. |
Buffer |
GZipEncoder.finish(AttributeStorage storage)
Finishes to compress data to the output stream without closing the underlying stream. |
| Methods in org.glassfish.grizzly.compression.zip that return types with arguments of type Buffer | |
|---|---|
protected TransformationResult<Buffer,Buffer> |
GZipEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
GZipEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
GZipDecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
GZipDecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
| Methods in org.glassfish.grizzly.compression.zip with parameters of type Buffer | |
|---|---|
boolean |
GZipEncoder.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
boolean |
GZipDecoder.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
GZipEncoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
GZipDecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
| Uses of Buffer in org.glassfish.grizzly.memory |
|---|
| Classes in org.glassfish.grizzly.memory with type parameters of type Buffer | |
|---|---|
class |
AbstractMemoryManager<E extends Buffer>
A MemoryManager abstraction to provide utilities that may be useful
across different MemoryManager implementations. |
interface |
MemoryManager<E extends Buffer>
MemoryManager, responsible for allocating and releasing memory, required during application runtime. |
| Classes in org.glassfish.grizzly.memory that implement Buffer | |
|---|---|
class |
BuffersBuffer
|
protected class |
ByteBufferManager.SmallByteBufferWrapper
ByteBufferWrapper implementation, which supports trimming. |
class |
ByteBufferWrapper
Buffer implementation, which uses the ByteBuffer underneath. |
class |
CompositeBuffer
|
class |
HeapBuffer
Buffer implementation, which uses the ByteBuffer underneath. |
| Fields in org.glassfish.grizzly.memory declared as Buffer | |
|---|---|
static Buffer |
Buffers.EMPTY_BUFFER
|
| Fields in org.glassfish.grizzly.memory with type parameters of type Buffer | |
|---|---|
static Appender<Buffer> |
Buffers.BUFFER_APPENDER
|
| Methods in org.glassfish.grizzly.memory that return Buffer | |
|---|---|
static Buffer |
Buffers.appendBuffers(MemoryManager memoryManager,
Buffer buffer1,
Buffer buffer2)
|
static Buffer |
Buffers.cloneBuffer(Buffer srcBuffer)
Clones the source Buffer. |
static Buffer |
Buffers.cloneBuffer(Buffer srcBuffer,
int position,
int limit)
Clones the source Buffer. |
Buffer |
HeapBuffer.get(java.nio.ByteBuffer dst)
|
Buffer |
ByteBufferWrapper.get(java.nio.ByteBuffer dst)
|
Buffer |
HeapBuffer.get(java.nio.ByteBuffer dst,
int position,
int length)
|
Buffer |
ByteBufferWrapper.get(java.nio.ByteBuffer dst,
int position,
int length)
|
Buffer |
BuffersBuffer.put(Buffer src,
int position,
int length)
|
Buffer |
HeapBuffer.put(java.nio.ByteBuffer src)
|
Buffer |
ByteBufferWrapper.put(java.nio.ByteBuffer src)
|
Buffer |
HeapBuffer.put(java.nio.ByteBuffer src,
int position,
int length)
|
Buffer |
ByteBufferWrapper.put(java.nio.ByteBuffer src,
int position,
int length)
|
Buffer |
ByteBufferWrapper.put8BitString(java.lang.String s)
|
Buffer |
BuffersBuffer.slice()
|
Buffer |
BuffersBuffer.slice(int position,
int limit)
|
Buffer |
HeapBuffer.split(int splitPosition)
Split up the buffer into two parts: [0..splitPosition) and [splitPosition, capacity). |
Buffer |
ByteBufferWrapper.split(int splitPosition)
|
Buffer |
BuffersBuffer.split(int splitPosition)
|
Buffer[] |
BuffersBuffer.underlying()
|
Buffer |
WrapperAware.wrap(byte[] data)
Returns Buffer, which wraps the byte array. |
Buffer |
WrapperAware.wrap(byte[] data,
int offset,
int length)
Returns Buffer, which wraps the part of byte array with
specific offset and length. |
Buffer |
WrapperAware.wrap(java.nio.ByteBuffer byteBuffer)
Returns Buffer, which wraps the ByteBuffer. |
Buffer |
HeapMemoryManager.wrap(java.nio.ByteBuffer byteBuffer)
Returns Buffer, which wraps the ByteBuffer. |
static Buffer |
Buffers.wrap(MemoryManager memoryManager,
byte[] array)
Returns Buffer, which wraps the byte array. |
static Buffer |
Buffers.wrap(MemoryManager memoryManager,
byte[] array,
int offset,
int length)
Returns Buffer, which wraps the part of byte array with
specific offset and length. |
static Buffer |
Buffers.wrap(MemoryManager memoryManager,
java.nio.ByteBuffer byteBuffer)
Returns Buffer, which wraps the ByteBuffer. |
static Buffer |
Buffers.wrap(MemoryManager memoryManager,
java.lang.String s)
Returns Buffer, which wraps the String. |
static Buffer |
Buffers.wrap(MemoryManager memoryManager,
java.lang.String s,
java.nio.charset.Charset charset)
Returns Buffer, which wraps the String with the specific
Charset. |
Buffer |
WrapperAware.wrap(java.lang.String s)
Returns Buffer, which wraps the String. |
Buffer |
WrapperAware.wrap(java.lang.String s,
java.nio.charset.Charset charset)
Returns Buffer, which wraps the String with the specific
Charset. |
| Methods in org.glassfish.grizzly.memory with parameters of type Buffer | |
|---|---|
BuffersBuffer |
BuffersBuffer.append(Buffer buffer)
|
static Buffer |
Buffers.appendBuffers(MemoryManager memoryManager,
Buffer buffer1,
Buffer buffer2)
|
static Buffer |
Buffers.cloneBuffer(Buffer srcBuffer)
Clones the source Buffer. |
static Buffer |
Buffers.cloneBuffer(Buffer srcBuffer,
int position,
int limit)
Clones the source Buffer. |
int |
HeapBuffer.compareTo(Buffer o)
|
int |
ByteBufferWrapper.compareTo(Buffer o)
|
int |
BuffersBuffer.compareTo(Buffer that)
|
static BuffersBuffer |
BuffersBuffer.create(MemoryManager memoryManager,
Buffer... buffers)
|
static BuffersBuffer |
BuffersBuffer.create(MemoryManager memoryManager,
Buffer[] buffers,
boolean isReadOnly)
|
static void |
Buffers.fill(Buffer buffer,
byte b)
Fill the Buffer with the specific byte value. |
static void |
Buffers.fill(Buffer buffer,
int position,
int limit,
byte b)
Fill the Buffer's part [position, limit) with the specific byte value starting from the
Buffer's position won't be changed. |
protected int |
BufferArray.getLimit(Buffer buffer)
|
protected int |
BufferArray.getPosition(Buffer buffer)
|
static CompositeBuffer |
CompositeBuffer.newBuffer(MemoryManager memoryManager,
Buffer... buffers)
|
static CompositeBuffer |
CompositeBuffer.newBuffer(MemoryManager memoryManager,
Buffer[] buffers,
boolean isReadOnly)
|
HeapBuffer |
HeapBuffer.prepend(Buffer header)
|
abstract CompositeBuffer |
CompositeBuffer.prepend(Buffer buffer)
|
ByteBufferWrapper |
ByteBufferWrapper.prepend(Buffer header)
|
BuffersBuffer |
BuffersBuffer.prepend(Buffer buffer)
|
HeapBuffer |
HeapBuffer.put(Buffer src)
|
ByteBufferWrapper |
ByteBufferWrapper.put(Buffer src)
|
BuffersBuffer |
BuffersBuffer.put(Buffer src)
|
HeapBuffer |
HeapBuffer.put(Buffer src,
int position,
int length)
|
ByteBufferWrapper |
ByteBufferWrapper.put(Buffer src,
int position,
int length)
|
Buffer |
BuffersBuffer.put(Buffer src,
int position,
int length)
|
static void |
Buffers.put(Buffer src,
int position,
int length,
Buffer dstBuffer)
|
abstract boolean |
CompositeBuffer.replace(Buffer oldBuffer,
Buffer newBuffer)
Replace one internal Buffer with another one. |
boolean |
BuffersBuffer.replace(Buffer oldBuffer,
Buffer newBuffer)
|
static void |
Buffers.setPositionLimit(Buffer buffer,
int position,
int limit)
|
protected void |
BufferArray.setPositionLimit(Buffer buffer,
int position,
int limit)
|
| Constructors in org.glassfish.grizzly.memory with parameters of type Buffer | |
|---|---|
BuffersBuffer(MemoryManager memoryManager,
Buffer[] buffers,
int buffersSize,
boolean isReadOnly)
|
|
| Uses of Buffer in org.glassfish.grizzly.nio |
|---|
| Methods in org.glassfish.grizzly.nio that return types with arguments of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Methods in org.glassfish.grizzly.nio with parameters of type Buffer | |
|---|---|
protected AsyncWriteQueueRecord |
AbstractNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected static void |
NIOConnection.notifyProbesRead(NIOConnection connection,
Buffer data,
int size)
Notify registered ConnectionProbes about the read event. |
protected static void |
NIOConnection.notifyProbesWrite(NIOConnection connection,
Buffer data,
int size)
Notify registered ConnectionProbes about the write event. |
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
protected abstract int |
AbstractNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Method parameters in org.glassfish.grizzly.nio with type arguments of type Buffer | |
|---|---|
protected AsyncWriteQueueRecord |
AbstractNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected AsyncWriteQueueRecord |
AbstractNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected AsyncWriteQueueRecord |
AbstractNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
protected abstract int |
AbstractNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Uses of Buffer in org.glassfish.grizzly.nio.tmpselectors |
|---|
| Methods in org.glassfish.grizzly.nio.tmpselectors that return Buffer | |
|---|---|
protected Buffer |
TemporarySelectorReader.acquireBuffer(Connection connection)
|
| Methods in org.glassfish.grizzly.nio.tmpselectors that return types with arguments of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method reads data to the message. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer message,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method writes the message to the specific address. |
| Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method reads data to the message. |
protected int |
TemporarySelectorReader.read0(NIOConnection connection,
ReadResult<Buffer,java.net.SocketAddress> currentResult,
Buffer buffer,
long timeout,
java.util.concurrent.TimeUnit timeunit)
|
protected abstract int |
TemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer message,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method writes the message to the specific address. |
protected int |
TemporarySelectorWriter.write0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Flush the buffer by looping until the Buffer is empty |
protected abstract int |
TemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
| Method parameters in org.glassfish.grizzly.nio.tmpselectors with type arguments of type Buffer | |
|---|---|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
|
GrizzlyFuture<ReadResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer message,
CompletionHandler<ReadResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method reads data to the message. |
protected int |
TemporarySelectorReader.read0(NIOConnection connection,
ReadResult<Buffer,java.net.SocketAddress> currentResult,
Buffer buffer,
long timeout,
java.util.concurrent.TimeUnit timeunit)
|
protected abstract int |
TemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor)
Method writes the buffer to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer message,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method writes the message to the specific address. |
GrizzlyFuture<WriteResult<Buffer,java.net.SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
java.net.SocketAddress dstAddress,
Buffer message,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
Interceptor<WriteResult<Buffer,java.net.SocketAddress>> interceptor,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Method writes the message to the specific address. |
protected int |
TemporarySelectorWriter.write0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
long timeout,
java.util.concurrent.TimeUnit timeunit)
Flush the buffer by looping until the Buffer is empty |
protected abstract int |
TemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
| Uses of Buffer in org.glassfish.grizzly.nio.transport |
|---|
| Methods in org.glassfish.grizzly.nio.transport that return Buffer | |
|---|---|
protected Buffer |
DefaultStreamWriter.Output.newBuffer(int size)
|
Buffer |
TCPNIOTransport.read(Connection connection,
Buffer buffer)
|
protected Buffer |
DefaultStreamWriter.Output.reallocateBuffer(Buffer oldBuffer,
int size)
|
| Methods in org.glassfish.grizzly.nio.transport with parameters of type Buffer | |
|---|---|
protected void |
UDPNIOAsyncQueueReader.addRecord(Connection connection,
Buffer buffer,
CompletionHandler completionHandler,
Interceptor<ReadResult> interceptor)
|
protected void |
TCPNIOAsyncQueueReader.addRecord(Connection connection,
Buffer buffer,
CompletionHandler completionHandler,
Interceptor<ReadResult> interceptor)
|
protected AsyncWriteQueueRecord |
TCPNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected GrizzlyFuture<java.lang.Integer> |
DefaultStreamWriter.Output.flush0(Buffer buffer,
CompletionHandler<java.lang.Integer> completionHandler)
|
protected void |
UDPNIOConnection.onRead(Buffer data,
int size)
Method will be called, when some data was read on the connection |
protected void |
TCPNIOConnection.onRead(Buffer data,
int size)
Method will be called, when some data was read on the connection |
protected void |
UDPNIOConnection.onWrite(Buffer data,
int size)
Method will be called, when some data was written on the connection |
protected void |
TCPNIOConnection.onWrite(Buffer data,
int size)
Method will be called, when some data was written on the connection |
Buffer |
TCPNIOTransport.read(Connection connection,
Buffer buffer)
|
int |
UDPNIOTransport.read(UDPNIOConnection connection,
Buffer buffer)
|
int |
UDPNIOTransport.read(UDPNIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOTemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOTemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected Buffer |
DefaultStreamWriter.Output.reallocateBuffer(Buffer oldBuffer,
int size)
|
int |
TCPNIOTransport.write(Connection connection,
Buffer buffer)
|
int |
TCPNIOTransport.write(Connection connection,
Buffer buffer,
WriteResult currentResult)
|
int |
UDPNIOTransport.write(UDPNIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer)
|
int |
UDPNIOTransport.write(UDPNIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOTemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOTemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
| Method parameters in org.glassfish.grizzly.nio.transport with type arguments of type Buffer | |
|---|---|
protected AsyncWriteQueueRecord |
TCPNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected AsyncWriteQueueRecord |
TCPNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
protected AsyncWriteQueueRecord |
TCPNIOAsyncQueueWriter.createRecord(Connection connection,
Buffer message,
java.util.concurrent.Future<WriteResult<Buffer,java.net.SocketAddress>> future,
WriteResult<Buffer,java.net.SocketAddress> currentResult,
CompletionHandler<WriteResult<Buffer,java.net.SocketAddress>> completionHandler,
java.net.SocketAddress dstAddress,
boolean isEmptyRecord)
|
int |
UDPNIOTransport.read(UDPNIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOAsyncQueueReader.read0(Connection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOTemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOTemporarySelectorReader.readNow0(NIOConnection connection,
Buffer buffer,
ReadResult<Buffer,java.net.SocketAddress> currentResult)
|
int |
UDPNIOTransport.write(UDPNIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
UDPNIOTemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
protected int |
TCPNIOTemporarySelectorWriter.writeNow0(NIOConnection connection,
java.net.SocketAddress dstAddress,
Buffer buffer,
WriteResult<Buffer,java.net.SocketAddress> currentResult)
|
| Uses of Buffer in org.glassfish.grizzly.ssl |
|---|
| Methods in org.glassfish.grizzly.ssl that return Buffer | |
|---|---|
protected Buffer |
SSLFilter.doHandshakeStep(javax.net.ssl.SSLEngine sslEngine,
FilterChainContext context)
|
static Buffer |
SSLUtils.handshakeWrap(Connection connection,
javax.net.ssl.SSLEngine sslEngine)
|
| Methods in org.glassfish.grizzly.ssl that return types with arguments of type Buffer | |
|---|---|
Transformer<Buffer,Buffer> |
SSLCodec.getDecoder()
|
Transformer<Buffer,Buffer> |
SSLCodec.getDecoder()
|
Transformer<Buffer,Buffer> |
SSLCodec.getEncoder()
|
Transformer<Buffer,Buffer> |
SSLCodec.getEncoder()
|
protected TransformationResult<Buffer,Buffer> |
SSLEncoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
protected TransformationResult<Buffer,Buffer> |
SSLEncoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
protected TransformationResult<Buffer,Buffer> |
SSLDecoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
protected TransformationResult<Buffer,Buffer> |
SSLDecoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
| Methods in org.glassfish.grizzly.ssl with parameters of type Buffer | |
|---|---|
static int |
SSLUtils.getSSLPacketSize(Buffer buf)
|
static javax.net.ssl.SSLEngineResult |
SSLUtils.handshakeUnwrap(Connection connection,
javax.net.ssl.SSLEngine sslEngine,
Buffer inputBuffer)
|
boolean |
SSLEncoderTransformer.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
boolean |
SSLDecoderTransformer.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
SSLEncoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
protected TransformationResult<Buffer,Buffer> |
SSLDecoderTransformer.transformImpl(AttributeStorage state,
Buffer originalMessage)
|
| Uses of Buffer in org.glassfish.grizzly.streams |
|---|
| Fields in org.glassfish.grizzly.streams with type parameters of type Buffer | |
|---|---|
protected Transformer<Buffer,Buffer> |
TransformerOutput.transformer
|
protected Transformer<Buffer,Buffer> |
TransformerOutput.transformer
|
protected Transformer<Buffer,Buffer> |
TransformerInput.transformer
|
protected Transformer<Buffer,Buffer> |
TransformerInput.transformer
|
| Methods in org.glassfish.grizzly.streams that return Buffer | |
|---|---|
Buffer |
StreamOutput.getBuffer()
|
Buffer |
StreamInput.getBuffer()
|
Buffer |
Output.getBuffer()
Return the Input's Buffer. |
Buffer |
Input.getBuffer()
Return the Input's Buffer. |
Buffer |
BufferedOutput.getBuffer()
|
Buffer |
BufferedInput.getBuffer()
|
Buffer |
StreamReader.getBufferWindow()
|
Buffer |
AbstractStreamReader.getBufferWindow()
|
protected Buffer |
TransformerOutput.newBuffer(int size)
|
protected abstract Buffer |
BufferedOutput.newBuffer(int size)
|
protected Buffer |
TransformerOutput.reallocateBuffer(Buffer oldBuffer,
int size)
|
protected abstract Buffer |
BufferedOutput.reallocateBuffer(Buffer oldBuffer,
int size)
|
Buffer |
StreamInput.takeBuffer()
|
Buffer |
Input.takeBuffer()
Takes the Input's Buffer. |
Buffer |
BufferedInput.takeBuffer()
|
Buffer |
StreamReader.takeBufferWindow()
|
Buffer |
AbstractStreamReader.takeBufferWindow()
|
| Methods in org.glassfish.grizzly.streams with parameters of type Buffer | |
|---|---|
boolean |
BufferedInput.append(Buffer buffer)
|
protected GrizzlyFuture<java.lang.Integer> |
TransformerOutput.flush0(Buffer buffer,
CompletionHandler<java.lang.Integer> completionHandler)
|
protected abstract GrizzlyFuture<java.lang.Integer> |
BufferedOutput.flush0(Buffer buffer,
CompletionHandler<java.lang.Integer> completionHandler)
|
boolean |
BufferedInput.prepend(Buffer buffer)
|
void |
StreamReader.readBytes(Buffer buffer)
Fill the buffer with data from the stream (that is, copy data from the stream to fill buffer from position to limit). |
void |
AbstractStreamReader.readBytes(Buffer buffer)
Fill the buffer with data from the stream (that is, copy data from the stream to fill buffer from position to limit). |
protected Buffer |
TransformerOutput.reallocateBuffer(Buffer oldBuffer,
int size)
|
protected abstract Buffer |
BufferedOutput.reallocateBuffer(Buffer oldBuffer,
int size)
|
void |
StreamOutput.write(Buffer buffer)
|
void |
Output.write(Buffer buffer)
|
void |
BufferedOutput.write(Buffer bufferToWrite)
|
void |
StreamWriter.writeBuffer(Buffer buffer)
Write the Buffer to the StreamWriter. |
void |
AbstractStreamWriter.writeBuffer(Buffer b)
Write the Buffer to the StreamWriter. |
| Method parameters in org.glassfish.grizzly.streams with type arguments of type Buffer | ||
|---|---|---|
|
StreamWriter.encode(Transformer<E,Buffer> encoder,
E object)
|
|
|
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder,
E object)
|
|
|
StreamWriter.encode(Transformer<E,Buffer> encoder,
E object,
CompletionHandler<Stream> completionHandler)
|
|
|
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder,
E object,
CompletionHandler<Stream> completionHandler)
|
|
| Constructors in org.glassfish.grizzly.streams with parameters of type Buffer | |
|---|---|
AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer)
|
|
| Uses of Buffer in org.glassfish.grizzly.utils |
|---|
| Methods in org.glassfish.grizzly.utils that return Buffer | |
|---|---|
Buffer |
BufferOutputStream.getBuffer()
Get the result Buffer (not flipped). |
| Methods in org.glassfish.grizzly.utils that return types with arguments of type Buffer | |
|---|---|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.parseWithLengthPrefix(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.parseWithTerminatingSeq(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
ChunkingFilter.ChunkingTransformer.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
ChunkingFilter.ChunkingTransformer.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<java.lang.String,Buffer> |
StringEncoder.transformImpl(AttributeStorage storage,
java.lang.String input)
|
| Methods in org.glassfish.grizzly.utils with parameters of type Buffer | |
|---|---|
boolean |
StringDecoder.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
boolean |
ChunkingFilter.ChunkingTransformer.hasInputRemaining(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.parseWithLengthPrefix(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.parseWithTerminatingSeq(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,java.lang.String> |
StringDecoder.transformImpl(AttributeStorage storage,
Buffer input)
|
protected TransformationResult<Buffer,Buffer> |
ChunkingFilter.ChunkingTransformer.transformImpl(AttributeStorage storage,
Buffer input)
|
| Constructors in org.glassfish.grizzly.utils with parameters of type Buffer | |
|---|---|
BufferInputStream(Buffer buffer)
Create the InputStream over Grizzly Buffer. |
|
BufferInputStream(Buffer buffer,
int position,
int limit)
Create the InputStream over Grizzly Buffer. |
|
BufferOutputStream(MemoryManager mm,
Buffer buffer)
Creates the BufferOutputStream using passed Buffer as initial. |
|
BufferOutputStream(MemoryManager mm,
Buffer buffer,
boolean reallocate)
Creates the BufferOutputStream using passed Buffer as initial. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||