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.http
Fields in org.glassfish.grizzly.http declared as BufferModifier and TypeFieldDescriptionprotected BufferHttpContent.Builder.contentprotected BufferHttpContent.contentMethods in org.glassfish.grizzly.http that return BufferModifier and TypeMethodDescriptionCookie.asClientCookieBuffer()Cookie.asClientCookieBuffer(MemoryManager memoryManager) Cookie.asServerCookieBuffer()Cookie.asServerCookieBuffer(MemoryManager memoryManager) protected BufferHttpClientFilter.encodeHttpPacket(FilterChainContext ctx, HttpPacket input) protected final BufferHttpCodecFilter.encodeHttpPacket(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent, boolean isContentAlreadyEncoded) protected BufferHttpCodecFilter.encodeHttpPacket(FilterChainContext ctx, HttpPacket input) protected BufferHttpServerFilter.encodeHttpPacket(FilterChainContext ctx, HttpPacket input) protected static BufferHttpCodecFilter.encodeKnownHeaders(MemoryManager memoryManager, Buffer buffer, HttpHeader httpHeader) protected static BufferHttpCodecFilter.encodeMimeHeader(MemoryManager memoryManager, Buffer buffer, DataChunk name, DataChunk value, byte[] tempBuffer, boolean encodeLastCRLF) protected static BufferHttpCodecFilter.encodeMimeHeaders(MemoryManager memoryManager, Buffer buffer, MimeHeaders mimeHeaders, byte[] tempEncodingBuffer) HttpBrokenContent.getContent()Get the HTTP message contentBuffer.HttpContent.getContent()Get the HTTP message contentBuffer.ParsingResult.getRemainderBuffer()ChunkedTransferEncoding.serializePacket(FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.FixedLengthTransferEncoding.serializePacket(FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.TransferEncoding.serializePacket(FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.Methods in org.glassfish.grizzly.http with parameters of type BufferModifier and TypeMethodDescriptionfinal TSet the HttpContent chunk contentBuffer.static HttpContentHttpContent.create(HttpHeader httpHeader, boolean isLast, Buffer content) static ParsingResultParsingResult.create(HttpContent httpContent, Buffer remainderBuffer) static ParsingResultParsingResult.create(HttpContent httpContent, Buffer remainderBuffer, boolean sendHeaderUpstream) protected booleanHttpCodecFilter.decodeHttpPacket(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer input) protected booleanHttpCodecFilter.decodeHttpPacketFromBuffer(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer input) protected booleanHttpCodecFilter.decodeHttpPacketFromBytes(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer inputBuffer) protected static BufferHttpCodecFilter.encodeKnownHeaders(MemoryManager memoryManager, Buffer buffer, HttpHeader httpHeader) protected static BufferHttpCodecFilter.encodeMimeHeader(MemoryManager memoryManager, Buffer buffer, DataChunk name, DataChunk value, byte[] tempBuffer, boolean encodeLastCRLF) protected static BufferHttpCodecFilter.encodeMimeHeaders(MemoryManager memoryManager, Buffer buffer, MimeHeaders mimeHeaders, byte[] tempEncodingBuffer) voidHttpProbe.Adapter.onContentEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onContentEncodingParseResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) This method will be called after theContentEncodinghas been applied.voidHttpProbe.onContentEncodingParseResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) This method will be called after theContentEncodinghas been applied.voidHttpProbe.Adapter.onContentEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) /** Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) /** Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onContentEncodingSerializeResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingSerializeResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onDataReceivedEvent(Connection connection, Buffer buffer) Method will be called, whenBufferwill come for processing to theHttpCodecFilter(either request or response).voidHttpProbe.onDataReceivedEvent(Connection connection, Buffer buffer) Method will be called, whenBufferwill come for processing to theHttpCodecFilter(either request or response).voidHttpProbe.Adapter.onDataSentEvent(Connection connection, Buffer buffer) Method will be called, whenBuffer, produced by theHttpCodecFilterwill be ready to go to the nextFilterin the chain and finally written on wire.voidHttpProbe.onDataSentEvent(Connection connection, Buffer buffer) Method will be called, whenBuffer, produced by theHttpCodecFilterwill be ready to go to the nextFilterin the chain and finally written on wire.voidHttpProbe.Adapter.onHeaderSerializeEvent(Connection connection, HttpHeader header, Buffer buffer) Method will be called, when HTTP message header gets serialized (either request or response).voidHttpProbe.onHeaderSerializeEvent(Connection connection, HttpHeader header, Buffer buffer) Method will be called, when HTTP message header gets serialized (either request or response).protected booleanHttpClientFilter.onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx) protected abstract booleanHttpCodecFilter.onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx) Callback invoked when the HTTP message header parsing is complete.protected booleanHttpServerFilter.onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx) voidHttpProbe.Adapter.onTransferEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.onTransferEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onTransferEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onTransferEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.abstract Eabstract Eprotected booleanHttpCodecFilter.parseHeaderFromBuffer(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected booleanHttpCodecFilter.parseHeaderName(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected booleanHttpCodecFilter.parseHeadersFromBuffer(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected static intHttpCodecFilter.parseHeaderValue(HttpHeader httpHeader, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) ChunkedTransferEncoding.parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer) Parse HTTP packet payload, represented byBufferusing specific transfer encoding.FixedLengthTransferEncoding.parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer input) Parse HTTP packet payload, represented byBufferusing specific transfer encoding.TransferEncoding.parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer) Parse HTTP packet payload, represented byBufferusing specific transfer encoding.protected final voidHttpContent.setContent(Buffer content) voidHttpResponsePacket.setReasonPhrase(Buffer reason) static ProtocolConstructors in org.glassfish.grizzly.http with parameters of type BufferModifierConstructorDescriptionprotectedHttpContent(HttpHeader httpHeader, boolean isLast, Buffer content) -
Uses of Buffer in org.glassfish.grizzly.http.io
Methods in org.glassfish.grizzly.http.io that return BufferModifier and TypeMethodDescriptionBinaryNIOInputSource.getBuffer()Returns the the duplicate of the underlyingBufferthat backs thisInputSource.InputBuffer.getBuffer()Returns the duplicate of the underlyingBufferused to buffer incoming request data.BinaryNIOInputSource.readBuffer()Returns the underlyingBufferthat backs thisInputSource.BinaryNIOInputSource.readBuffer(int size) InputBuffer.readBuffer()InputBuffer.readBuffer(int size) Methods in org.glassfish.grizzly.http.io with parameters of type BufferModifier and TypeMethodDescriptionvoidInputBuffer.replayPayload(Buffer buffer) protected voidInputBuffer.updateInputContentBuffer(Buffer buffer) voidWrites the contents of the specifiedBuffer.voidOutputBuffer.writeBuffer(Buffer buffer) Writes the contents of the specifiedBufferto the client. -
Uses of Buffer in org.glassfish.grizzly.http.server
Methods in org.glassfish.grizzly.http.server that return BufferModifier and TypeMethodDescriptionRequest.getPostBody(int len) Gets the POST body of this request.Methods in org.glassfish.grizzly.http.server with parameters of type BufferModifier and TypeMethodDescriptionvoidRequest.replayPayload(Buffer buffer) Replays request's payload by setting new payloadBuffer. -
Uses of Buffer in org.glassfish.grizzly.http.server.io
Methods in org.glassfish.grizzly.http.server.io with parameters of type BufferModifier and TypeMethodDescriptionprotected voidServerInputBuffer.updateInputContentBuffer(Buffer buffer) -
Uses of Buffer in org.glassfish.grizzly.http.util
Methods in org.glassfish.grizzly.http.util that return BufferModifier and TypeMethodDescriptionBufferChunk.getBuffer()static BufferHttpCodecUtils.getLongAsBuffer(MemoryManager memoryManager, long length) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte value) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] array) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] array, int off, int len) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] tempBuffer, String s) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] tempBuffer, DataChunk chunk) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, Buffer buffer) static BufferHttpCodecUtils.resizeBuffer(MemoryManager memoryManager, Buffer buffer, int grow) Methods in org.glassfish.grizzly.http.util with parameters of type BufferModifier and TypeMethodDescriptionCreate a new named header using un-translated Buffer.static intHttpCodecUtils.checkEOL(HttpCodecFilter.HeaderParsingState parsingState, Buffer input) static floatHttpUtils.convertQValueToFloat(Buffer buffer, int startIdx, int stopIdx) static booleanstatic booleanstatic booleanCookieUtils.equalsIgnoreCase(String s, Buffer b, int start, int end) static booleanBufferChunk.equalsIgnoreCaseLowerCase(Buffer buffer, int start, int end, byte[] cmpTo) Compares the buffer chunk to the specified byte array representing lower-case ASCII characters.static booleanHttpCodecUtils.findEOL(HttpCodecFilter.HeaderParsingState state, Buffer input) static intstatic intCookieUtils.getQuotedValueEndPosition(Buffer buffer, int off, int end) Given a starting position after an initial quote character, this gets the position of the end quote.static intCookieUtils.getTokenEndPosition(Buffer buffer, int off, int end) Given the starting position of a token, this gets the end of the token, with no separator characters in between.static intCookieUtils.getTokenEndPosition(Buffer buffer, int off, int end, boolean parseAsVersion1) static intstatic intBufferChunk.indexOf(Buffer buffer, int off, int end, CharSequence s) static intvoidstatic voidAscii.intToHexString(Buffer buffer, int i) static voidAscii.intToUnsignedString(Buffer buffer, int value, int shift) Convert the integer to an unsigned number.static voidHttpUtils.longToBuffer(long value, Buffer buffer) Converts the specified long as a string representation to the provided buffer.static intCookieSerializerUtils.maybeQuote2(int version, Buffer buf, String value, boolean versionOneStrictCompliance) Quotes values using rules that vary depending on Cookie version.static intCookieSerializerUtils.maybeQuote2(int version, Buffer buf, String value, boolean allowVersionSwitch, boolean versionOneStrictCompliance) static intCookieSerializerUtils.maybeQuote2(int version, Buffer buf, String value, String literals, boolean allowVersionSwitch, boolean versionOneStrictCompliance) static voidCookieParserUtils.parseClientCookies(Cookies cookies, Buffer buffer, int off, int len) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVKstatic voidCookieParserUtils.parseClientCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVKstatic intParses an unsigned int from the specified sub-array of bytes.static longParses an unsigned long from the specified sub-array of bytes.static voidCookieParserUtils.parseServerCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) voidParameters.processParameters(Buffer buffer, int start, int len) voidParameters.processParameters(Buffer buffer, int start, int len, Charset enc) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte value) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] array) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] array, int off, int len) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] tempBuffer, String s) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, byte[] tempBuffer, DataChunk chunk) static BufferHttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, Buffer buffer) static BufferHttpCodecUtils.resizeBuffer(MemoryManager memoryManager, Buffer buffer, int grow) static voidCookieSerializerUtils.serializeClientCookies(Buffer buf, boolean versionOneStrictCompliance, Cookie... cookies) static voidCookieSerializerUtils.serializeClientCookies(Buffer buf, Cookie... cookies) static voidCookieSerializerUtils.serializeServerCookie(Buffer buf, boolean versionOneStrictCompliance, boolean alwaysAddExpires, String name, String value, int version, String path, String domain, String comment, int maxAge, boolean isSecure, boolean isHttpOnly) static voidCookieSerializerUtils.serializeServerCookie(Buffer buf, boolean versionOneStrictCompliance, boolean alwaysAddExpires, Cookie cookie) static voidCookieSerializerUtils.serializeServerCookie(Buffer buf, Cookie cookie) voidvoidvoidvoidBufferChunk.setBufferChunk(Buffer buffer, int start, int end) voidBufferChunk.setBufferChunk(Buffer buffer, int start, int end, int limit) static intHttpCodecUtils.skipSpaces(Buffer input, int offset, int packetLimit) static booleanBufferChunk.startsWith(Buffer buffer, int start, int end, byte[] cmpTo) static intCookieParserUtils.unescapeDoubleQuotes(Buffer buffer, int start, int length) Un-escapes any double quotes in the given cookie value. -
Uses of Buffer in org.glassfish.grizzly.http2
Methods in org.glassfish.grizzly.http2 that return BufferModifier and TypeMethodDescriptionHeadersEncoder.flushHeaders()Http2FrameCodec.serializeAndRecycle(Http2Session http2Session, List<Http2Frame> frames) Http2FrameCodec.serializeAndRecycle(Http2Session http2Session, Http2Frame frame) Methods in org.glassfish.grizzly.http2 with parameters of type BufferModifier and TypeMethodDescriptionbooleanprotected intHttp2Session.getFrameSize(Buffer buffer) Returns the total frame size (including header size), or -1 if the buffer doesn't contain enough bytes to read the size.protected booleanHttp2BaseFilter.onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx) protected voidHttp2Session.onOversizedFrame(Buffer buffer) Http2FrameCodec.parse(Http2Session http2Session, Http2FrameCodec.FrameParsingState parsingState, Buffer srcMessage) Http2Session.parseHttp2FrameHeader(Buffer buffer) protected voidHttp2SessionOutputSink.writeDataDownStream(Http2Stream stream, List<Http2Frame> headerFrames, Buffer data, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner, boolean isLast) Method parameters in org.glassfish.grizzly.http2 with type arguments of type BufferModifier and TypeMethodDescriptionprotected voidHttp2SessionOutputSink.writeDataDownStream(Http2Stream stream, List<Http2Frame> headerFrames, Buffer data, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner, boolean isLast) protected <K> voidHttp2SessionOutputSink.writeDownStream(K anyMessage, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner) voidUpgradeOutputSink.writeDownStream(HttpPacket httpPacket, FilterChainContext ctx, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner) -
Uses of Buffer in org.glassfish.grizzly.http2.frames
Fields in org.glassfish.grizzly.http2.frames declared as BufferModifier and TypeFieldDescriptionprotected BufferHeaderBlockFragment.compressedHeadersprotected BufferHeaderBlockFragment.HeaderBlockFragmentBuilder.compressedHeadersprotected BufferHttp2Frame.frameBufferMethods in org.glassfish.grizzly.http2.frames that return BufferModifier and TypeMethodDescriptionCompressedHeadersBuilder.build(HeadersEncoder encoder) GoAwayFrame.getAdditionalDebugData()HeaderBlockFragment.getCompressedHeaders()DataFrame.getData()HeaderBlockFragment.takePayload()ContinuationFrame.toBuffer(MemoryManager memoryManager) DataFrame.toBuffer(MemoryManager memoryManager) GoAwayFrame.toBuffer(MemoryManager memoryManager) HeadersFrame.toBuffer(MemoryManager memoryManager) Http2Frame.toBuffer()abstract BufferHttp2Frame.toBuffer(MemoryManager memoryManager) PingFrame.toBuffer(MemoryManager memoryManager) PriorityFrame.toBuffer(MemoryManager memoryManager) PushPromiseFrame.toBuffer(MemoryManager memoryManager) RstStreamFrame.toBuffer(MemoryManager memoryManager) SettingsFrame.toBuffer(MemoryManager memoryManager) UnknownFrame.toBuffer(MemoryManager memoryManager) WindowUpdateFrame.toBuffer(MemoryManager memoryManager) Methods in org.glassfish.grizzly.http2.frames with parameters of type BufferModifier and TypeMethodDescriptionGoAwayFrame.GoAwayFrameBuilder.additionalDebugData(Buffer additionalDebugData) HeaderBlockFragment.HeaderBlockFragmentBuilder.compressedHeaders(Buffer compressedHeaders) Sets compressed headers buffer.static ContinuationFrameContinuationFrame.fromBuffer(int flags, int streamId, Buffer buffer) static DataFrameDataFrame.fromBuffer(int flags, int streamId, Buffer buffer) static Http2FrameGoAwayFrame.fromBuffer(int streamId, Buffer frameBuffer) static HeadersFrameHeadersFrame.fromBuffer(int flags, int streamId, Buffer buffer) static Http2FramePingFrame.fromBuffer(int flags, int streamId, Buffer frameBuffer) static Http2FramePriorityFrame.fromBuffer(int streamId, Buffer frameBuffer) static PushPromiseFramePushPromiseFrame.fromBuffer(int flags, int streamId, Buffer buffer) static Http2FrameRstStreamFrame.fromBuffer(int flags, int streamId, Buffer frameBuffer) static SettingsFrameSettingsFrame.fromBuffer(int flags, int streamId, Buffer frameBuffer) static Http2FrameWindowUpdateFrame.fromBuffer(int flags, int streamId, Buffer frameBuffer) protected voidHttp2Frame.serializeFrameHeader(Buffer buffer) protected voidHttp2Frame.setFrameBuffer(Buffer frameBuffer) -
Uses of Buffer in org.glassfish.grizzly.http2.hpack
Methods in org.glassfish.grizzly.http2.hpack with parameters of type Buffer -
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. -
Uses of Buffer in org.glassfish.grizzly.websockets
Fields in org.glassfish.grizzly.websockets declared as BufferMethods in org.glassfish.grizzly.websockets that return BufferMethods in org.glassfish.grizzly.websockets with parameters of type BufferModifier and TypeMethodDescriptionstatic ParseResultCreate a ParseResult object.abstract DataFramevoidConstructors in org.glassfish.grizzly.websockets with parameters of type Buffer -
Uses of Buffer in org.glassfish.grizzly.websockets.rfc6455
Methods in org.glassfish.grizzly.websockets.rfc6455 with parameters of type Buffer