Uses of Interface
io.undertow.connector.PooledByteBuffer
Packages that use PooledByteBuffer
Package
Description
-
Uses of PooledByteBuffer in io.undertow.conduits
Fields in io.undertow.conduits declared as PooledByteBufferModifier and TypeFieldDescriptionprotected PooledByteBuffer
DeflatingStreamSinkConduit.currentBuffer
The streams buffer.Constructors in io.undertow.conduits with parameters of type PooledByteBuffer -
Uses of PooledByteBuffer in io.undertow.connector
Methods in io.undertow.connector that return PooledByteBuffer -
Uses of PooledByteBuffer in io.undertow.protocols.ajp
Methods in io.undertow.protocols.ajp with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected AbstractAjpClientStreamSourceChannel
AjpClientChannel.createChannel
(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected long
AjpClientResponseStreamSourceChannel.updateFrameDataRemaining
(PooledByteBuffer frameData, long frameDataRemaining) Constructors in io.undertow.protocols.ajp with parameters of type PooledByteBufferModifierConstructorDescriptionAbstractAjpClientStreamSourceChannel
(AjpClientChannel framedChannel, PooledByteBuffer data, long frameDataRemaining) AjpClientResponseStreamSourceChannel
(AjpClientChannel framedChannel, HeaderMap headers, int statusCode, String reasonPhrase, PooledByteBuffer frameData, int remaining) -
Uses of PooledByteBuffer in io.undertow.protocols.http2
Methods in io.undertow.protocols.http2 that return PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBuffer[]
Http2StreamSinkChannel.allocateAll
(PooledByteBuffer[] allHeaderBuffers, PooledByteBuffer currentBuffer) Methods in io.undertow.protocols.http2 with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBuffer[]
Http2StreamSinkChannel.allocateAll
(PooledByteBuffer[] allHeaderBuffers, PooledByteBuffer currentBuffer) protected AbstractHttp2StreamSourceChannel
Http2Channel.createChannel
(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected AbstractHttp2StreamSourceChannel
Http2Channel.createChannelImpl
(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected long
Http2StreamSourceChannel.updateFrameDataRemaining
(PooledByteBuffer data, long frameDataRemaining) Constructors in io.undertow.protocols.http2 with parameters of type PooledByteBufferModifierConstructorDescriptionHttp2Channel
(org.xnio.StreamConnection connectedStreamChannel, String protocol, ByteBufferPool bufferPool, PooledByteBuffer data, boolean clientSide, boolean fromUpgrade, boolean prefaceRequired, ByteBuffer initialOtherSideSettings, org.xnio.OptionMap settings) Http2Channel
(org.xnio.StreamConnection connectedStreamChannel, String protocol, ByteBufferPool bufferPool, PooledByteBuffer data, boolean clientSide, boolean fromUpgrade, boolean prefaceRequired, org.xnio.OptionMap settings) Http2Channel
(org.xnio.StreamConnection connectedStreamChannel, String protocol, ByteBufferPool bufferPool, PooledByteBuffer data, boolean clientSide, boolean fromUpgrade, org.xnio.OptionMap settings) -
Uses of PooledByteBuffer in io.undertow.server
Fields in io.undertow.server declared as PooledByteBufferModifier and TypeFieldDescriptionprotected PooledByteBuffer
AbstractServerConnection.extraBytes
Any extra bytes that were read from the channel.Methods in io.undertow.server that return PooledByteBufferModifier and TypeMethodDescriptionDefaultByteBufferPool.allocate()
XnioByteBufferPool.allocate()
AbstractServerConnection.getExtraBytes()
Methods in io.undertow.server with parameters of type PooledByteBufferModifier and TypeMethodDescriptionvoid
DelegateOpenListener.handleEvent
(org.xnio.StreamConnection channel, PooledByteBuffer additionalData) void
AbstractServerConnection.setExtraBytes
(PooledByteBuffer extraBytes) static void
Connectors.ungetRequestBytes
(HttpServerExchange exchange, PooledByteBuffer... buffers) Attached buffered data to the exchange. -
Uses of PooledByteBuffer in io.undertow.server.protocol.framed
Methods in io.undertow.server.protocol.framed that return PooledByteBufferModifier and TypeMethodDescriptionSendFrameHeader.getByteBuffer()
protected PooledByteBuffer
AbstractFramedStreamSinkChannel.preWriteTransform
(PooledByteBuffer body) protected PooledByteBuffer
AbstractFramedStreamSourceChannel.processFrameData
(PooledByteBuffer data, boolean lastFragmentOfFrame) Methods in io.undertow.server.protocol.framed with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected abstract R
AbstractFramedChannel.createChannel
(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) Method that creates the actual stream source channel implementation that is in use.protected void
AbstractFramedStreamSourceChannel.dataReady
(FrameHeaderData headerData, PooledByteBuffer frameData) Called when data has been read from the underlying channel.protected PooledByteBuffer
AbstractFramedStreamSinkChannel.preWriteTransform
(PooledByteBuffer body) protected PooledByteBuffer
AbstractFramedStreamSourceChannel.processFrameData
(PooledByteBuffer data, boolean lastFragmentOfFrame) boolean
AbstractFramedStreamSinkChannel.send
(PooledByteBuffer pooled) Send a buffer to this channel.protected boolean
AbstractFramedStreamSinkChannel.sendInternal
(PooledByteBuffer pooled) protected long
AbstractFramedStreamSourceChannel.updateFrameDataRemaining
(PooledByteBuffer frameData, long frameDataRemaining) Constructors in io.undertow.server.protocol.framed with parameters of type PooledByteBufferModifierConstructorDescriptionprotected
AbstractFramedChannel
(org.xnio.StreamConnection connectedStreamChannel, ByteBufferPool bufferPool, FramePriority<C, R, S> framePriority, PooledByteBuffer readData, org.xnio.OptionMap settings) Create a newAbstractFramedChannel
8AbstractFramedStreamSourceChannel
(C framedChannel, PooledByteBuffer data, long frameDataRemaining) SendFrameHeader
(int reminingInBuffer, PooledByteBuffer byteBuffer) SendFrameHeader
(int reminingInBuffer, PooledByteBuffer byteBuffer, boolean anotherFrameRequired) SendFrameHeader
(int reminingInBuffer, PooledByteBuffer byteBuffer, boolean anotherFrameRequired, ByteBuffer trailer) SendFrameHeader
(PooledByteBuffer byteBuffer) -
Uses of PooledByteBuffer in io.undertow.server.protocol.http
Methods in io.undertow.server.protocol.http with parameters of type PooledByteBufferModifier and TypeMethodDescriptionvoid
HttpOpenListener.handleEvent
(org.xnio.StreamConnection channel, PooledByteBuffer buffer) void
HttpServerConnection.ungetRequestBytes
(PooledByteBuffer unget) Pushes back the given data. -
Uses of PooledByteBuffer in io.undertow.server.protocol.http2
Methods in io.undertow.server.protocol.http2 with parameters of type PooledByteBufferModifier and TypeMethodDescriptionvoid
Http2OpenListener.handleEvent
(org.xnio.StreamConnection channel, PooledByteBuffer buffer) -
Uses of PooledByteBuffer in io.undertow.util
Classes in io.undertow.util that implement PooledByteBufferModifier and TypeClassDescriptionclass
class
A reference counted pooled implementation, that basically consists of a main buffer, that can be sliced off into smaller buffers, and the underlying buffer will not be freed until all the slices and the main buffer itself have also been freed.Methods in io.undertow.util that return PooledByteBufferModifier and TypeMethodDescriptionReferenceCountedPooled.createView()
ReferenceCountedPooled.createView
(int viewSize) Constructors in io.undertow.util with parameters of type PooledByteBufferModifierConstructorDescriptionPooledAdaptor
(PooledByteBuffer buffer) ReferenceCountedPooled
(PooledByteBuffer underlying, int referenceCount) ReferenceCountedPooled
(PooledByteBuffer underlying, int referenceCount, ReferenceCountedPooled.FreeNotifier freeNotifier) -
Uses of PooledByteBuffer in io.undertow.websockets.core
Methods in io.undertow.websockets.core that return PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBuffer
StreamSourceFrameChannel.processFrameData
(PooledByteBuffer frameData, boolean lastFragmentOfFrame) Methods in io.undertow.websockets.core with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected StreamSourceFrameChannel
WebSocketChannel.createChannel
(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) WebSocketChannel.PartialFrame.getChannel
(PooledByteBuffer data) protected PooledByteBuffer
StreamSourceFrameChannel.processFrameData
(PooledByteBuffer frameData, boolean lastFragmentOfFrame) static void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendBinaryBlocking
(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete binary message using blocking IO Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPingBlocking
(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete ping message using blocking IO Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPongBlocking
(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete pong message using blocking IO Automatically frees the pooled byte buffer when done.static void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendTextBlocking
(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.Constructors in io.undertow.websockets.core with parameters of type PooledByteBufferModifierConstructorDescriptionprotected
StreamSourceFrameChannel
(WebSocketChannel wsChannel, WebSocketFrameType type, int rsv, boolean finalFragment, PooledByteBuffer pooled, long frameLength, Masker masker, ChannelFunction... functions) protected
StreamSourceFrameChannel
(WebSocketChannel wsChannel, WebSocketFrameType type, PooledByteBuffer pooled, long frameLength) -
Uses of PooledByteBuffer in io.undertow.websockets.core.protocol.version07
Methods in io.undertow.websockets.core.protocol.version07 that return PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBuffer
WebSocket07FrameSinkChannel.preWriteTransform
(PooledByteBuffer body) Methods in io.undertow.websockets.core.protocol.version07 with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBuffer
WebSocket07FrameSinkChannel.preWriteTransform
(PooledByteBuffer body) -
Uses of PooledByteBuffer in io.undertow.websockets.extensions
Methods in io.undertow.websockets.extensions that return PooledByteBufferModifier and TypeMethodDescriptionCompositeExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage) ExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) Transform the supplied buffer per this extension.NoopExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfFrame) PerMessageDeflateFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) CompositeExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) ExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) Transform the supplied buffer per this extension.NoopExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) PerMessageDeflateFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) Methods in io.undertow.websockets.extensions with parameters of type PooledByteBufferModifier and TypeMethodDescriptionCompositeExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage) ExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) Transform the supplied buffer per this extension.NoopExtensionFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfFrame) PerMessageDeflateFunction.transformForRead
(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) CompositeExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) ExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) Transform the supplied buffer per this extension.NoopExtensionFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame) PerMessageDeflateFunction.transformForWrite
(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)