Uses of Interface
org.glassfish.grizzly.Buffer
Packages that use Buffer
Package
Description
-
Uses of Buffer in org.glassfish.grizzly
Methods in org.glassfish.grizzly that return BufferModifier and TypeMethodDescriptionBuffer.asReadOnlyBuffer()Creates a new, read-onlyBufferthat shares this buffer's content.Buffer.clear()Clears this buffer.Buffer.compact()Compacts this buffer (optional operation).Buffer.duplicate()Creates a newBufferthat shares this buffer's content.Buffer.flip()Flips this buffer.Buffer.get(byte[] dst) Relative bulk get method.Buffer.get(byte[] dst, int offset, int length) Relative bulk get method.Buffer.get(ByteBuffer dst) Relative bulk get method.Buffer.get(ByteBuffer dst, int offset, int length) Relative bulk get method.Buffer.limit(int newLimit) Sets this buffer's limit.Buffer.mark()Sets this buffer's mark at its position.Modifies this buffer's byte order.Buffer.position(int newPosition) Sets this buffer's position.Prepend data from header.position() to header.limit() to the current buffer.Buffer.put(byte b) Relative put method (optional operation).Buffer.put(byte[] src) Relative bulk put method (optional operation).Buffer.put(byte[] src, int offset, int length) Relative bulk put method (optional operation).Buffer.put(int index, byte b) Absolute put method (optional operation).Buffer.put(ByteBuffer src) Relative bulk put method (optional operation).Buffer.put(ByteBuffer src, int position, int length) Relative bulk put method (optional operation).Relative bulk put method (optional operation).Relative bulk put method (optional operation).Buffer.put8BitString(String s) Relative bulk put method (optional operation).Buffer.putChar(char value) Relative put method for writing a char value (optional operation).Buffer.putChar(int index, char value) Absolute put method for writing a char value (optional operation).Buffer.putDouble(double value) Relative put method for writing a double value (optional operation).Buffer.putDouble(int index, double value) Absolute put method for writing a double value (optional operation).Buffer.putFloat(float value) Relative put method for writing a float value (optional operation).Buffer.putFloat(int index, float value) Absolute put method for writing a float value (optional operation).Buffer.putInt(int value) Relative put method for writing an int value (optional operation).Buffer.putInt(int index, int value) Absolute put method for writing an int value (optional operation).Buffer.putLong(int index, long value) Absolute put method for writing a long value (optional operation).Buffer.putLong(long value) Relative put method for writing a long value (optional operation).Buffer.putShort(int index, short value) Absolute put method for writing a short value (optional operation).Buffer.putShort(short value) Relative put method for writing a short value (optional operation).Buffer.reset()Resets this buffer's position to the previously-marked position.Buffer.rewind()Rewinds this buffer.Buffer.slice()Creates a newBufferwhose content is a shared subsequence of this buffer's content.Buffer.slice(int position, int limit) Creates a newBufferwhose content is a shared subsequence of this buffer's content.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 BufferModifier and TypeMethodDescriptionfinal GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection<L> connection) Method reads data.final GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection<L> connection, Buffer buffer) Method reads data to the buffer.Reader.read(Connection<L> connection) Method reads data.Reader.read(Connection<L> connection, Buffer buffer) Method reads data to the buffer.Methods in org.glassfish.grizzly with parameters of type BufferModifier and TypeMethodDescriptionvoidConnectionProbe.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.Prepend data from header.position() to header.limit() to the current buffer.Relative bulk put method (optional operation).Relative bulk put method (optional operation).final GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection<L> connection, Buffer buffer) Method reads data to the buffer.final voidAbstractReader.read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer, L>> completionHandler) Method reads data to the buffer.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 BufferModifier and TypeMethodDescriptionfinal 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 BufferModifier and TypeMethodDescriptionstatic 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 BufferModifier and TypeMethodDescriptionLZMADecoder.LZMAInputState.getDst()LZMAEncoder.LZMAOutputState.getDst()LZMADecoder.LZMAInputState.getSrc()LZMAEncoder.LZMAOutputState.getSrc()Methods in org.glassfish.grizzly.compression.lzma that return types with arguments of type BufferModifier and TypeMethodDescriptionprotected 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 BufferModifier and TypeMethodDescriptionbooleanLZMADecoder.hasInputRemaining(AttributeStorage storage, Buffer input) booleanLZMAEncoder.hasInputRemaining(AttributeStorage storage, Buffer input) booleanLZMADecoder.LZMAInputState.initialize(Buffer buffer) voidvoidvoidvoidprotected 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 -
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 -
Uses of Buffer in org.glassfish.grizzly.compression.lzma.impl.rangecoder
Methods in org.glassfish.grizzly.compression.lzma.impl.rangecoder that return BufferMethods in org.glassfish.grizzly.compression.lzma.impl.rangecoder with parameters of type Buffer -
Uses of Buffer in org.glassfish.grizzly.compression.zip
Methods in org.glassfish.grizzly.compression.zip that return BufferModifier and TypeMethodDescriptionprotected BufferGZipEncoder.deflate(Deflater deflater, MemoryManager memoryManager) Writes next block of compressed data to the output stream.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 BufferModifier and TypeMethodDescriptionprotected 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 BufferModifier and TypeMethodDescriptionbooleanGZipDecoder.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 BufferModifier and TypeClassDescriptionclassAbstractMemoryManager<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 BufferModifier and TypeClassDescriptionfinal classprotected final classByteBufferWrapperimplementation, which supports trimming.classBufferimplementation, which uses theByteBufferunderneath.classclassBufferimplementation, which uses theByteBufferunderneath.Fields in org.glassfish.grizzly.memory declared as BufferMethods in org.glassfish.grizzly.memory that return BufferModifier and TypeMethodDescriptionPooledMemoryManager.allocate(int size) For this implementation, this method simply calls through toPooledMemoryManager.allocateAtLeast(int);PooledMemoryManager.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.ByteBufferWrapper.get(ByteBuffer dst) ByteBufferWrapper.get(ByteBuffer dst, int position, int length) HeapBuffer.get(ByteBuffer dst) HeapBuffer.get(ByteBuffer dst, int position, int length) ByteBufferWrapper.put(ByteBuffer src) ByteBufferWrapper.put(ByteBuffer src, int position, int length) HeapBuffer.put(ByteBuffer src) HeapBuffer.put(ByteBuffer src, int position, int length) ByteBufferWrapper.put8BitString(String s) PooledMemoryManager.reallocate(Buffer oldBuffer, int newSize) Reallocates an existing buffer to at least the specified size.BuffersBuffer.slice()BuffersBuffer.slice(int position, int limit) BuffersBuffer.split(int splitPosition) ByteBufferWrapper.split(int splitPosition) HeapBuffer.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.HeapMemoryManager.wrap(ByteBuffer byteBuffer) ReturnsBuffer, which wraps theByteBuffer.PooledMemoryManager.wrap(byte[] data) PooledMemoryManager.wrap(byte[] data, int offset, int length) PooledMemoryManager.wrap(ByteBuffer byteBuffer) WrapperAware.wrap(byte[] data) ReturnsBuffer, which wraps the byte array.WrapperAware.wrap(byte[] data, int offset, int length) ReturnsBuffer, which wraps the part of byte array with specific offset and length.WrapperAware.wrap(ByteBuffer byteBuffer) ReturnsBuffer, which wraps theByteBuffer.Methods in org.glassfish.grizzly.memory that return types with arguments of type BufferMethods in org.glassfish.grizzly.memory with parameters of type BufferModifier and TypeMethodDescriptionabstract CompositeBufferstatic 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.intintintstatic 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 voidFill theBufferwith the specific byte value.static voidprotected intprotected intBufferArray.getPosition(Buffer buffer) static CompositeBufferCompositeBuffer.newBuffer(MemoryManager memoryManager, Buffer... buffers) static CompositeBufferCompositeBuffer.newBuffer(MemoryManager memoryManager, Buffer[] buffers, boolean isReadOnly) abstract CompositeBufferstatic voidstatic longBuffers.readFromFileChannel(FileChannel fileChannel, Buffer buffer) Reads data from theFileChannelinto theBuffer.PooledMemoryManager.reallocate(Buffer oldBuffer, int newSize) Reallocates an existing buffer to at least the specified size.voidReleaseBuffer.booleanabstract booleanReplace one internalBufferwith another one.protected voidBufferArray.setPositionLimit(Buffer buffer, int position, int limit) static voidBuffers.setPositionLimit(Buffer buffer, int position, int limit) Buffers.toStringContent(Buffer buffer, int headBytesCount, int tailBytesCount) Buffers.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 BufferModifierConstructorDescriptionprotectedBuffersBuffer(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 BufferModifier and TypeMethodDescriptionprotected 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 BufferModifier and TypeMethodDescriptionvoidAbstractNIOAsyncQueueReader.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 BufferModifier and TypeMethodDescriptionprotected BufferTemporarySelectorReader.acquireBuffer(Connection connection) Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type BufferModifier and TypeMethodDescriptionvoidTemporarySelectorReader.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 final 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 BufferModifier and TypeMethodDescriptionvoidTemporarySelectorReader.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 final 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 BufferModifier and TypeMethodDescriptionstatic BufferTCPNIOUtils.allocateAndReadBuffer(TCPNIOConnection connection) protected BufferDefaultStreamWriter.Output.newBuffer(int size) TCPNIOTransport.read(Connection connection, Buffer buffer) protected BufferDefaultStreamWriter.Output.reallocateBuffer(Buffer oldBuffer, int size) Methods in org.glassfish.grizzly.nio.transport with parameters of type BufferModifier and TypeMethodDescriptionprotected 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 final voidMethod will be called, when some data was read on the connectionprotected final voidMethod will be called, when some data was read on the connectionprotected final voidMethod will be called, when some data was written on the connectionprotected final voidMethod will be called, when some data was written on the connectionTCPNIOTransport.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 BufferModifier and TypeMethodDescriptionintUDPNIOTransport.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 BufferModifier and TypeFieldDescriptionprotected static final MessageCloner<Buffer>SSLBaseFilter.COPY_CLONERMethods in org.glassfish.grizzly.ssl that return BufferModifier and TypeMethodDescriptionstatic 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 BufferModifier and TypeMethodDescriptionSSLCodec.getDecoder()SSLCodec.getDecoder()SSLCodec.getEncoder()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 BufferModifier and TypeMethodDescriptionstatic 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 BufferModifier and TypeFieldDescriptionprotected final Transformer<Buffer,Buffer> TransformerInput.transformerprotected final Transformer<Buffer,Buffer> TransformerInput.transformerprotected final Transformer<Buffer,Buffer> TransformerOutput.transformerprotected final Transformer<Buffer,Buffer> TransformerOutput.transformerMethods in org.glassfish.grizzly.streams that return BufferModifier and TypeMethodDescriptionBufferedInput.getBuffer()BufferedOutput.getBuffer()Input.getBuffer()Return the Input'sBuffer.Output.getBuffer()Return the Input'sBuffer.StreamInput.getBuffer()StreamOutput.getBuffer()AbstractStreamReader.getBufferWindow()StreamReader.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) BufferedInput.takeBuffer()Input.takeBuffer()Takes the Input'sBuffer.StreamInput.takeBuffer()AbstractStreamReader.takeBufferWindow()StreamReader.takeBufferWindow()Methods in org.glassfish.grizzly.streams with parameters of type BufferModifier and TypeMethodDescriptionbooleanprotected abstract GrizzlyFuture<Integer>BufferedOutput.flush0(Buffer buffer, CompletionHandler<Integer> completionHandler) protected GrizzlyFuture<Integer>TransformerOutput.flush0(Buffer buffer, CompletionHandler<Integer> completionHandler) booleanvoidFill the buffer with data from the stream (that is, copy data from the stream to fill buffer from position to limit).voidFill 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) voidvoidvoidvoidAbstractStreamWriter.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 BufferModifier and TypeMethodDescription<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 BufferConstructor parameters in org.glassfish.grizzly.streams with type arguments of type BufferModifierConstructorDescriptionTransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, Connection connection) TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, Connection connection) TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, MemoryManager memoryManager, AttributeStorage attributeStorage) TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, MemoryManager memoryManager, AttributeStorage attributeStorage) TransformerOutput(Transformer<Buffer, Buffer> transformer, Output underlyingOutput, Connection connection) TransformerOutput(Transformer<Buffer, Buffer> transformer, Output underlyingOutput, Connection connection) TransformerOutput(Transformer<Buffer, Buffer> transformer, Output underlyingOutput, MemoryManager memoryManager, AttributeStorage attributeStorage) TransformerOutput(Transformer<Buffer, Buffer> transformer, Output underlyingOutput, MemoryManager memoryManager, AttributeStorage attributeStorage) TransformerStreamReader(StreamReader underlyingStream, Transformer<Buffer, Buffer> transformer) TransformerStreamReader(StreamReader underlyingStream, Transformer<Buffer, Buffer> transformer) TransformerStreamWriter(StreamWriter underlyingStream, Transformer<Buffer, Buffer> transformer) TransformerStreamWriter(StreamWriter underlyingStream, Transformer<Buffer, Buffer> transformer) -
Uses of Buffer in org.glassfish.grizzly.utils
Methods in org.glassfish.grizzly.utils that return BufferModifier and TypeMethodDescriptionprotected BufferBufferOutputStream.allocateNewBuffer(MemoryManager memoryManager, int size) BufferOutputStream.getBuffer()Get the resultBuffer(not flipped).Methods in org.glassfish.grizzly.utils that return types with arguments of type BufferModifier and TypeMethodDescriptionprotected 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 BufferModifier and TypeMethodDescriptionbooleanChunkingFilter.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 BufferModifierConstructorDescriptionBufferInputStream(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.