Uses of Interface
org.glassfish.grizzly.Buffer
-
-
Uses of Buffer in org.glassfish.grizzly
Methods in org.glassfish.grizzly that return Buffer Modifier and Type Method Description BufferBuffer. asReadOnlyBuffer()Creates a new, read-onlyBufferthat shares this buffer's content.BufferBuffer. clear()Clears this buffer.BufferBuffer. compact()Compacts this buffer (optional operation).BufferBuffer. duplicate()Creates a newBufferthat shares this buffer's content.BufferBuffer. flip()Flips this buffer.BufferBuffer. get(byte[] dst)Relative bulk get method.BufferBuffer. get(byte[] dst, int offset, int length)Relative bulk get method.BufferBuffer. get(ByteBuffer dst)Relative bulk get method.BufferBuffer. get(ByteBuffer dst, int offset, int length)Relative bulk get method.BufferBuffer. limit(int newLimit)Sets this buffer's limit.BufferBuffer. mark()Sets this buffer's mark at its position.BufferBuffer. order(ByteOrder bo)Modifies this buffer's byte order.BufferBuffer. position(int newPosition)Sets this buffer's position.BufferBuffer. prepend(Buffer header)Prepend data from header.position() to header.limit() to the current buffer.BufferBuffer. put(byte b)Relative put method (optional operation).BufferBuffer. put(byte[] src)Relative bulk put method (optional operation).BufferBuffer. put(byte[] src, int offset, int length)Relative bulk put method (optional operation).BufferBuffer. put(int index, byte b)Absolute put method (optional operation).BufferBuffer. put(ByteBuffer src)Relative bulk put method (optional operation).BufferBuffer. put(ByteBuffer src, int position, int length)Relative bulk put method (optional operation).BufferBuffer. put(Buffer src)Relative bulk put method (optional operation).BufferBuffer. put(Buffer src, int position, int length)Relative bulk put method (optional operation).BufferBuffer. put8BitString(String s)Relative bulk put method (optional operation).BufferBuffer. putChar(char value)Relative put method for writing a char value (optional operation).BufferBuffer. putChar(int index, char value)Absolute put method for writing a char value (optional operation).BufferBuffer. putDouble(double value)Relative put method for writing a double value (optional operation).BufferBuffer. putDouble(int index, double value)Absolute put method for writing a double value (optional operation).BufferBuffer. putFloat(float value)Relative put method for writing a float value (optional operation).BufferBuffer. putFloat(int index, float value)Absolute put method for writing a float value (optional operation).BufferBuffer. putInt(int value)Relative put method for writing an int value (optional operation).BufferBuffer. putInt(int index, int value)Absolute put method for writing an int value (optional operation).BufferBuffer. putLong(int index, long value)Absolute put method for writing a long value (optional operation).BufferBuffer. putLong(long value)Relative put method for writing a long value (optional operation).BufferBuffer. putShort(int index, short value)Absolute put method for writing a short value (optional operation).BufferBuffer. putShort(short value)Relative put method for writing a short value (optional operation).BufferBuffer. reset()Resets this buffer's position to the previously-marked position.BufferBuffer. rewind()Rewinds this buffer.BufferBuffer. slice()Creates a newBufferwhose content is a shared subsequence of this buffer's content.BufferBuffer. slice(int position, int limit)Creates a newBufferwhose content is a shared subsequence of this buffer's content.BufferBuffer. 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 Modifier and Type Method Description GrizzlyFuture<ReadResult<Buffer,L>>AbstractReader. read(Connection<L> connection)Method reads data.GrizzlyFuture<ReadResult<Buffer,L>>AbstractReader. read(Connection<L> connection, Buffer buffer)Method reads data to the buffer.GrizzlyFuture<ReadResult<Buffer,L>>Reader. read(Connection<L> connection)Method reads data.GrizzlyFuture<ReadResult<Buffer,L>>Reader. read(Connection<L> connection, Buffer buffer)Method reads data to the buffer.Methods in org.glassfish.grizzly with parameters of type Buffer Modifier and Type Method Description voidConnectionProbe.Adapter. onReadEvent(Connection connection, Buffer data, int size)Method will be called, when theConnectionhas read data.voidConnectionProbe. onReadEvent(Connection connection, Buffer data, int size)Method will be called, when theConnectionhas read data.voidConnectionProbe.Adapter. onWriteEvent(Connection connection, Buffer data, long size)Method will be called, when theConnectionhas written data.voidConnectionProbe. onWriteEvent(Connection connection, Buffer data, long size)Method will be called, when theConnectionhas written data.BufferBuffer. prepend(Buffer header)Prepend data from header.position() to header.limit() to the current buffer.BufferBuffer. put(Buffer src)Relative bulk put method (optional operation).BufferBuffer. put(Buffer src, int position, int length)Relative bulk put method (optional operation).GrizzlyFuture<ReadResult<Buffer,L>>AbstractReader. read(Connection<L> connection, Buffer buffer)Method reads data to the buffer.voidAbstractReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)Method reads data to the buffer.GrizzlyFuture<ReadResult<Buffer,L>>Reader. read(Connection<L> connection, Buffer buffer)Method reads data to the buffer.voidReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)Method reads data to the buffer.voidReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler, Interceptor<ReadResult> interceptor)Method reads data to the buffer.Method parameters in org.glassfish.grizzly with type arguments of type Buffer Modifier and Type Method Description voidAbstractReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)Method reads data to the buffer.voidReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)Method reads data to the buffer.voidReader. read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler, Interceptor<ReadResult> interceptor)Method reads data to the buffer. -
Uses of Buffer in org.glassfish.grizzly.asyncqueue
Methods in org.glassfish.grizzly.asyncqueue with parameters of type Buffer Modifier and Type Method Description static AsyncReadQueueRecordAsyncReadQueueRecord. create(Connection connection, Buffer message, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor) -
Uses of Buffer in org.glassfish.grizzly.compression.lzma
Methods in org.glassfish.grizzly.compression.lzma that return Buffer Modifier and Type Method Description BufferLZMADecoder.LZMAInputState. getDst()BufferLZMAEncoder.LZMAOutputState. getDst()BufferLZMADecoder.LZMAInputState. getSrc()BufferLZMAEncoder.LZMAOutputState. getSrc()Methods in org.glassfish.grizzly.compression.lzma that return types with arguments of type Buffer Modifier and Type Method Description protected AbstractTransformer.LastResultAwareState<Buffer,Buffer>LZMADecoder. createStateObject()protected AbstractTransformer.LastResultAwareState<Buffer,Buffer>LZMADecoder. createStateObject()protected AbstractTransformer.LastResultAwareState<Buffer,Buffer>LZMAEncoder. createStateObject()protected AbstractTransformer.LastResultAwareState<Buffer,Buffer>LZMAEncoder. createStateObject()protected TransformationResult<Buffer,Buffer>LZMADecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>LZMADecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>LZMAEncoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>LZMAEncoder. transformImpl(AttributeStorage storage, Buffer input)Methods in org.glassfish.grizzly.compression.lzma with parameters of type Buffer Modifier and Type Method Description booleanLZMADecoder. hasInputRemaining(AttributeStorage storage, Buffer input)booleanLZMAEncoder. hasInputRemaining(AttributeStorage storage, Buffer input)booleanLZMADecoder.LZMAInputState. initialize(Buffer buffer)voidLZMADecoder.LZMAInputState. setDst(Buffer dst)voidLZMAEncoder.LZMAOutputState. setDst(Buffer dst)voidLZMADecoder.LZMAInputState. setSrc(Buffer src)voidLZMAEncoder.LZMAOutputState. setSrc(Buffer src)protected TransformationResult<Buffer,Buffer>LZMADecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>LZMAEncoder. 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 Modifier and Type Method Description voidEncoder. 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 Modifier and Type Method Description voidInWindow. 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 Modifier and Type Method Description BufferRangeEncoder. releaseBuffer()Methods in org.glassfish.grizzly.compression.lzma.impl.rangecoder with parameters of type Buffer Modifier and Type Method Description voidRangeEncoder. setBuffer(Buffer dst, MemoryManager mm) -
Uses of Buffer in org.glassfish.grizzly.compression.zip
Methods in org.glassfish.grizzly.compression.zip that return Buffer Modifier and Type Method Description protected BufferGZipEncoder. deflate(Deflater deflater, MemoryManager memoryManager)Writes next block of compressed data to the output stream.BufferGZipEncoder. 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 Modifier and Type Method Description protected TransformationResult<Buffer,Buffer>GZipDecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>GZipDecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>GZipEncoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>GZipEncoder. transformImpl(AttributeStorage storage, Buffer input)Methods in org.glassfish.grizzly.compression.zip with parameters of type Buffer Modifier and Type Method Description booleanGZipDecoder. hasInputRemaining(AttributeStorage storage, Buffer input)booleanGZipEncoder. hasInputRemaining(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>GZipDecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>GZipEncoder. 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 Modifier and Type Class Description classAbstractMemoryManager<E extends Buffer>AMemoryManagerabstraction to provide utilities that may be useful across differentMemoryManagerimplementations.interfaceMemoryManager<E extends Buffer>MemoryManager, responsible for allocating and releasing memory, required during application runtime.Classes in org.glassfish.grizzly.memory that implement Buffer Modifier and Type Class Description classBuffersBufferprotected classByteBufferManager.SmallByteBufferWrapperByteBufferWrapperimplementation, which supports trimming.classByteBufferWrapperBufferimplementation, which uses theByteBufferunderneath.classCompositeBufferclassHeapBufferBufferimplementation, which uses theByteBufferunderneath.Fields in org.glassfish.grizzly.memory declared as Buffer Modifier and Type Field Description static BufferBuffers. EMPTY_BUFFERMethods in org.glassfish.grizzly.memory that return Buffer Modifier and Type Method Description BufferPooledMemoryManager. allocate(int size)For this implementation, this method simply calls through toPooledMemoryManager.allocateAtLeast(int);BufferPooledMemoryManager. allocateAtLeast(int size)Allocates a buffer of at least the size requested.static BufferBuffers. appendBuffers(MemoryManager memoryManager, Buffer buffer1, Buffer buffer2)Append twoBuffers.static BufferBuffers. appendBuffers(MemoryManager memoryManager, Buffer buffer1, Buffer buffer2, boolean isCompositeBufferDisposable)Append twoBuffers.static BufferBuffers. cloneBuffer(Buffer srcBuffer)Clones the sourceBuffer.static BufferBuffers. cloneBuffer(Buffer srcBuffer, int position, int limit)Clones the sourceBuffer.BufferByteBufferWrapper. get(ByteBuffer dst)BufferByteBufferWrapper. get(ByteBuffer dst, int position, int length)BufferHeapBuffer. get(ByteBuffer dst)BufferHeapBuffer. get(ByteBuffer dst, int position, int length)BufferBuffersBuffer. put(Buffer src, int position, int length)BufferByteBufferWrapper. put(ByteBuffer src)BufferByteBufferWrapper. put(ByteBuffer src, int position, int length)BufferHeapBuffer. put(ByteBuffer src)BufferHeapBuffer. put(ByteBuffer src, int position, int length)BufferByteBufferWrapper. put8BitString(String s)BufferPooledMemoryManager. reallocate(Buffer oldBuffer, int newSize)Reallocates an existing buffer to at least the specified size.BufferBuffersBuffer. slice()BufferBuffersBuffer. slice(int position, int limit)BufferBuffersBuffer. split(int splitPosition)BufferByteBufferWrapper. split(int splitPosition)BufferHeapBuffer. split(int splitPosition)Split up the buffer into two parts: [0..splitPosition) and [splitPosition, capacity).Buffer[]BuffersBuffer. underlying()static BufferBuffers. wrap(MemoryManager memoryManager, byte[] array)ReturnsBuffer, which wraps the byte array.static BufferBuffers. wrap(MemoryManager memoryManager, byte[] array, int offset, int length)ReturnsBuffer, which wraps the part of byte array with specific offset and length.static BufferBuffers. wrap(MemoryManager memoryManager, String s)static BufferBuffers. wrap(MemoryManager memoryManager, String s, Charset charset)static BufferBuffers. wrap(MemoryManager memoryManager, ByteBuffer byteBuffer)ReturnsBuffer, which wraps theByteBuffer.BufferHeapMemoryManager. wrap(ByteBuffer byteBuffer)ReturnsBuffer, which wraps theByteBuffer.BufferPooledMemoryManager. wrap(byte[] data)BufferPooledMemoryManager. wrap(byte[] data, int offset, int length)BufferPooledMemoryManager. wrap(String s)BufferPooledMemoryManager. wrap(String s, Charset charset)BufferPooledMemoryManager. wrap(ByteBuffer byteBuffer)BufferWrapperAware. wrap(byte[] data)ReturnsBuffer, which wraps the byte array.BufferWrapperAware. wrap(byte[] data, int offset, int length)ReturnsBuffer, which wraps the part of byte array with specific offset and length.BufferWrapperAware. wrap(String s)BufferWrapperAware. wrap(String s, Charset charset)BufferWrapperAware. wrap(ByteBuffer byteBuffer)ReturnsBuffer, which wraps theByteBuffer.Methods in org.glassfish.grizzly.memory that return types with arguments of type Buffer Modifier and Type Method Description static Appender<Buffer>Buffers. getBufferAppender(boolean isCompositeBufferDisposable)Methods in org.glassfish.grizzly.memory with parameters of type Buffer Modifier and Type Method Description BuffersBufferBuffersBuffer. append(Buffer buffer)abstract CompositeBufferCompositeBuffer. append(Buffer buffer)static BufferBuffers. appendBuffers(MemoryManager memoryManager, Buffer buffer1, Buffer buffer2)Append twoBuffers.static BufferBuffers. appendBuffers(MemoryManager memoryManager, Buffer buffer1, Buffer buffer2, boolean isCompositeBufferDisposable)Append twoBuffers.static BufferBuffers. cloneBuffer(Buffer srcBuffer)Clones the sourceBuffer.static BufferBuffers. cloneBuffer(Buffer srcBuffer, int position, int limit)Clones the sourceBuffer.intBuffersBuffer. compareTo(Buffer that)intByteBufferWrapper. compareTo(Buffer o)intHeapBuffer. compareTo(Buffer o)static BuffersBufferBuffersBuffer. create(MemoryManager memoryManager, Buffer... buffers)static BuffersBufferBuffersBuffer. create(MemoryManager memoryManager, Buffer[] buffers, boolean isReadOnly)static voidBuffers. dumpBuffer(Appendable appendable, Buffer buffer)Generates a hex dump of the providedBuffer.static voidBuffers. fill(Buffer buffer, byte b)Fill theBufferwith the specific byte value.static voidBuffers. fill(Buffer buffer, int position, int limit, byte b)protected intBufferArray. getLimit(Buffer buffer)protected intBufferArray. getPosition(Buffer buffer)static CompositeBufferCompositeBuffer. newBuffer(MemoryManager memoryManager, Buffer... buffers)static CompositeBufferCompositeBuffer. newBuffer(MemoryManager memoryManager, Buffer[] buffers, boolean isReadOnly)BuffersBufferBuffersBuffer. prepend(Buffer buffer)ByteBufferWrapperByteBufferWrapper. prepend(Buffer header)abstract CompositeBufferCompositeBuffer. prepend(Buffer buffer)HeapBufferHeapBuffer. prepend(Buffer header)static voidBuffers. put(Buffer src, int position, int length, Buffer dstBuffer)BuffersBufferBuffersBuffer. put(Buffer src)BufferBuffersBuffer. put(Buffer src, int position, int length)ByteBufferWrapperByteBufferWrapper. put(Buffer src)ByteBufferWrapperByteBufferWrapper. put(Buffer src, int position, int length)HeapBufferHeapBuffer. put(Buffer src)HeapBufferHeapBuffer. put(Buffer src, int position, int length)static longBuffers. readFromFileChannel(FileChannel fileChannel, Buffer buffer)Reads data from theFileChannelinto theBuffer.BufferPooledMemoryManager. reallocate(Buffer oldBuffer, int newSize)Reallocates an existing buffer to at least the specified size.voidPooledMemoryManager. release(Buffer buffer)ReleaseBuffer.booleanBuffersBuffer. replace(Buffer oldBuffer, Buffer newBuffer)abstract booleanCompositeBuffer. replace(Buffer oldBuffer, Buffer newBuffer)Replace one internalBufferwith another one.protected voidBufferArray. setPositionLimit(Buffer buffer, int position, int limit)static voidBuffers. setPositionLimit(Buffer buffer, int position, int limit)StringBuffers. toStringContent(Buffer buffer, int headBytesCount, int tailBytesCount)StringBuffers. toStringContent(Buffer buffer, int headBytesCount, int tailBytesCount, Charset charset)static longBuffers. writeToFileChannel(FileChannel fileChannel, Buffer buffer)Writes data from theBufferinto theFileChannel.Constructors in org.glassfish.grizzly.memory with parameters of type Buffer Constructor Description BuffersBuffer(MemoryManager memoryManager, Buffer[] buffers, int buffersSize, boolean isReadOnly) -
Uses of Buffer in org.glassfish.grizzly.nio
Methods in org.glassfish.grizzly.nio with parameters of type Buffer Modifier and Type Method Description protected static voidNIOConnection. notifyProbesRead(NIOConnection connection, Buffer data, int size)Notify registeredConnectionProbes about the read event.protected static voidNIOConnection. notifyProbesWrite(NIOConnection connection, Buffer data, long size)Notify registeredConnectionProbes about the write event.voidAbstractNIOAsyncQueueReader. read(Connection<SocketAddress> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)Method reads data to the buffer.protected abstract intAbstractNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)Method parameters in org.glassfish.grizzly.nio with type arguments of type Buffer Modifier and Type Method Description voidAbstractNIOAsyncQueueReader. read(Connection<SocketAddress> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)Method reads data to the buffer.protected abstract intAbstractNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult) -
Uses of Buffer in org.glassfish.grizzly.nio.tmpselectors
Methods in org.glassfish.grizzly.nio.tmpselectors that return Buffer Modifier and Type Method Description protected BufferTemporarySelectorReader. acquireBuffer(Connection connection)Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type Buffer Modifier and Type Method Description voidTemporarySelectorReader. read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)voidTemporarySelectorReader. read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor, long timeout, TimeUnit timeunit)Method reads data to the message.protected intTemporarySelectorReader. read0(NIOConnection connection, ReadResult<Buffer,SocketAddress> currentResult, Buffer buffer, long timeout, TimeUnit timeunit)protected abstract intTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)Method parameters in org.glassfish.grizzly.nio.tmpselectors with type arguments of type Buffer Modifier and Type Method Description voidTemporarySelectorReader. read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)voidTemporarySelectorReader. read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor, long timeout, TimeUnit timeunit)Method reads data to the message.protected intTemporarySelectorReader. read0(NIOConnection connection, ReadResult<Buffer,SocketAddress> currentResult, Buffer buffer, long timeout, TimeUnit timeunit)protected abstract intTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult) -
Uses of Buffer in org.glassfish.grizzly.nio.transport
Methods in org.glassfish.grizzly.nio.transport that return Buffer Modifier and Type Method Description static BufferTCPNIOUtils. allocateAndReadBuffer(TCPNIOConnection connection)protected BufferDefaultStreamWriter.Output. newBuffer(int size)BufferTCPNIOTransport. read(Connection connection, Buffer buffer)protected BufferDefaultStreamWriter.Output. reallocateBuffer(Buffer oldBuffer, int size)Methods in org.glassfish.grizzly.nio.transport with parameters of type Buffer Modifier and Type Method Description protected voidTCPNIOAsyncQueueReader. addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor)protected voidUDPNIOAsyncQueueReader. addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor)protected GrizzlyFuture<Integer>DefaultStreamWriter.Output. flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)protected voidTCPNIOConnection. onRead(Buffer data, int size)Method will be called, when some data was read on the connectionprotected voidUDPNIOConnection. onRead(Buffer data, int size)Method will be called, when some data was read on the connectionprotected voidTCPNIOConnection. onWrite(Buffer data, long size)Method will be called, when some data was written on the connectionprotected voidUDPNIOConnection. onWrite(Buffer data, int size)Method will be called, when some data was written on the connectionBufferTCPNIOTransport. read(Connection connection, Buffer buffer)intUDPNIOTransport. read(UDPNIOConnection connection, Buffer buffer)intUDPNIOTransport. read(UDPNIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intTCPNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intUDPNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)static intTCPNIOUtils. readBuffer(TCPNIOConnection connection, Buffer buffer)protected intTCPNIOTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intUDPNIOTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)static intTCPNIOUtils. readSimpleBuffer(TCPNIOConnection connection, Buffer buffer)protected BufferDefaultStreamWriter.Output. reallocateBuffer(Buffer oldBuffer, int size)static intTCPNIOUtils. writeSimpleBuffer(TCPNIOConnection connection, Buffer buffer)Method parameters in org.glassfish.grizzly.nio.transport with type arguments of type Buffer Modifier and Type Method Description intUDPNIOTransport. read(UDPNIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intTCPNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intUDPNIOAsyncQueueReader. read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intTCPNIOTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)protected intUDPNIOTemporarySelectorReader. readNow0(NIOConnection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult) -
Uses of Buffer in org.glassfish.grizzly.ssl
Fields in org.glassfish.grizzly.ssl with type parameters of type Buffer Modifier and Type Field Description protected static MessageCloner<Buffer>SSLBaseFilter. COPY_CLONERMethods in org.glassfish.grizzly.ssl that return Buffer Modifier and Type Method Description static BufferSSLUtils. allocateInputBuffer(SSLConnectionContext sslCtx)static BufferSSLUtils. allowDispose(Buffer buffer)protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer)protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLBaseFilter. doHandshakeSync(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, long timeoutMillis)static BufferSSLUtils. handshakeWrap(Connection connection, SSLConnectionContext sslCtx, Buffer netBuffer)protected BufferSSLBaseFilter. wrapAll(FilterChainContext ctx, SSLConnectionContext sslCtx)Methods in org.glassfish.grizzly.ssl that return types with arguments of type Buffer Modifier and Type Method Description Transformer<Buffer,Buffer>SSLCodec. getDecoder()Transformer<Buffer,Buffer>SSLCodec. getDecoder()Transformer<Buffer,Buffer>SSLCodec. getEncoder()Transformer<Buffer,Buffer>SSLCodec. getEncoder()protected TransformationResult<Buffer,Buffer>SSLDecoderTransformer. transformImpl(AttributeStorage state, Buffer originalMessage)protected TransformationResult<Buffer,Buffer>SSLDecoderTransformer. transformImpl(AttributeStorage state, Buffer originalMessage)protected TransformationResult<Buffer,Buffer>SSLEncoderTransformer. transformImpl(AttributeStorage state, Buffer originalMessage)protected TransformationResult<Buffer,Buffer>SSLEncoderTransformer. transformImpl(AttributeStorage state, Buffer originalMessage)Methods in org.glassfish.grizzly.ssl with parameters of type Buffer Modifier and Type Method Description static BufferSSLUtils. allowDispose(Buffer buffer)protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer)protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLBaseFilter. doHandshakeSync(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, long timeoutMillis)static intSSLUtils. getSSLPacketSize(Buffer buf)static SSLEngineResultSSLUtils. handshakeUnwrap(int length, SSLConnectionContext sslCtx, Buffer inputBuffer, Buffer tmpOutputBuffer)static BufferSSLUtils. handshakeWrap(Connection connection, SSLConnectionContext sslCtx, Buffer netBuffer)booleanSSLDecoderTransformer. hasInputRemaining(AttributeStorage storage, Buffer input)booleanSSLEncoderTransformer. hasInputRemaining(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,Buffer>SSLDecoderTransformer. transformImpl(AttributeStorage state, Buffer originalMessage)protected TransformationResult<Buffer,Buffer>SSLEncoderTransformer. 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 Modifier and Type Field Description protected Transformer<Buffer,Buffer>TransformerInput. transformerprotected Transformer<Buffer,Buffer>TransformerInput. transformerprotected Transformer<Buffer,Buffer>TransformerOutput. transformerprotected Transformer<Buffer,Buffer>TransformerOutput. transformerMethods in org.glassfish.grizzly.streams that return Buffer Modifier and Type Method Description BufferBufferedInput. getBuffer()BufferBufferedOutput. getBuffer()BufferInput. getBuffer()Return the Input'sBuffer.BufferOutput. getBuffer()Return the Input'sBuffer.BufferStreamInput. getBuffer()BufferStreamOutput. getBuffer()BufferAbstractStreamReader. getBufferWindow()BufferStreamReader. getBufferWindow()protected abstract BufferBufferedOutput. newBuffer(int size)protected BufferTransformerOutput. newBuffer(int size)protected abstract BufferBufferedOutput. reallocateBuffer(Buffer oldBuffer, int size)protected BufferTransformerOutput. reallocateBuffer(Buffer oldBuffer, int size)BufferBufferedInput. takeBuffer()BufferInput. takeBuffer()Takes the Input'sBuffer.BufferStreamInput. takeBuffer()BufferAbstractStreamReader. takeBufferWindow()BufferStreamReader. takeBufferWindow()Methods in org.glassfish.grizzly.streams with parameters of type Buffer Modifier and Type Method Description booleanBufferedInput. append(Buffer buffer)protected abstract GrizzlyFuture<Integer>BufferedOutput. flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)protected GrizzlyFuture<Integer>TransformerOutput. flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)booleanBufferedInput. prepend(Buffer buffer)voidAbstractStreamReader. 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).voidStreamReader. 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 abstract BufferBufferedOutput. reallocateBuffer(Buffer oldBuffer, int size)protected BufferTransformerOutput. reallocateBuffer(Buffer oldBuffer, int size)voidBufferedOutput. write(Buffer bufferToWrite)voidOutput. write(Buffer buffer)voidStreamOutput. write(Buffer buffer)voidAbstractStreamWriter. writeBuffer(Buffer b)Write theBufferto the StreamWriter.voidStreamWriter. writeBuffer(Buffer buffer)Write theBufferto the StreamWriter.Method parameters in org.glassfish.grizzly.streams with type arguments of type Buffer Modifier and Type Method Description <E> GrizzlyFuture<Stream>AbstractStreamWriter. encode(Transformer<E,Buffer> encoder, E object)<E> GrizzlyFuture<Stream>AbstractStreamWriter. encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)<E> GrizzlyFuture<Stream>StreamWriter. encode(Transformer<E,Buffer> encoder, E object)<E> GrizzlyFuture<Stream>StreamWriter. encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)Constructors in org.glassfish.grizzly.streams with parameters of type Buffer Constructor Description DisposeBufferCompletionHandler(Buffer buffer) -
Uses of Buffer in org.glassfish.grizzly.utils
Methods in org.glassfish.grizzly.utils that return Buffer Modifier and Type Method Description protected BufferBufferOutputStream. allocateNewBuffer(MemoryManager memoryManager, int size)BufferBufferOutputStream. getBuffer()Get the resultBuffer(not flipped).Methods in org.glassfish.grizzly.utils that return types with arguments of type Buffer Modifier and Type Method Description protected TransformationResult<Buffer,String>StringDecoder. parseWithLengthPrefix(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,String>StringDecoder. parseWithTerminatingSeq(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<Buffer,String>StringDecoder. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<String,Buffer>StringEncoder. transformImpl(AttributeStorage storage, String input)Methods in org.glassfish.grizzly.utils with parameters of type Buffer Modifier and Type Method Description booleanChunkingFilter.ChunkingTransformer. hasInputRemaining(AttributeStorage storage, Buffer input)booleanStringDecoder. hasInputRemaining(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,String>StringDecoder. parseWithLengthPrefix(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,String>StringDecoder. parseWithTerminatingSeq(AttributeStorage storage, Buffer input)voidBufferOutputStream. setInitialOutputBuffer(Buffer initialBuffer)protected TransformationResult<Buffer,Buffer>ChunkingFilter.ChunkingTransformer. transformImpl(AttributeStorage storage, Buffer input)protected TransformationResult<Buffer,String>StringDecoder. transformImpl(AttributeStorage storage, Buffer input)Constructors in org.glassfish.grizzly.utils with parameters of type Buffer Constructor Description BufferInputStream(Buffer buffer)Create theInputStreamover GrizzlyBuffer.BufferInputStream(Buffer buffer, int position, int limit)Create theInputStreamover GrizzlyBuffer.BufferOutputStream(MemoryManager mm, Buffer buffer)Creates the BufferOutputStream using passedBufferas initial.BufferOutputStream(MemoryManager mm, Buffer buffer, boolean reallocate)Creates the BufferOutputStream using passedBufferas initial.
-