Uses of Interface
io.undertow.connector.PooledByteBuffer
-
-
Uses of PooledByteBuffer in io.undertow.conduits
Fields in io.undertow.conduits declared as PooledByteBuffer Modifier and Type Field Description protected PooledByteBuffer
DeflatingStreamSinkConduit. currentBuffer
The streams buffer.Constructors in io.undertow.conduits with parameters of type PooledByteBuffer Constructor Description PooledBufferFrameCallback(PooledByteBuffer buffer)
PooledBuffersFrameCallback(PooledByteBuffer... buffers)
-
Uses of PooledByteBuffer in io.undertow.connector
Methods in io.undertow.connector that return PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
ByteBufferPool. allocate()
-
Uses of PooledByteBuffer in io.undertow.protocols.ajp
Methods in io.undertow.protocols.ajp with parameters of type PooledByteBuffer Modifier and Type Method Description protected 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 PooledByteBuffer Constructor Description AbstractAjpClientStreamSourceChannel(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 PooledByteBuffer Modifier and Type Method Description protected PooledByteBuffer[]
Http2StreamSinkChannel. allocateAll(PooledByteBuffer[] allHeaderBuffers, PooledByteBuffer currentBuffer)
Methods in io.undertow.protocols.http2 with parameters of type PooledByteBuffer Modifier and Type Method Description protected 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 PooledByteBuffer Constructor Description Http2Channel(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 PooledByteBuffer Modifier and Type Field Description protected PooledByteBuffer
AbstractServerConnection. extraBytes
Any extra bytes that were read from the channel.Methods in io.undertow.server that return PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
DefaultByteBufferPool. allocate()
PooledByteBuffer
XnioByteBufferPool. allocate()
PooledByteBuffer
AbstractServerConnection. getExtraBytes()
Methods in io.undertow.server with parameters of type PooledByteBuffer Modifier and Type Method Description void
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 PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
SendFrameHeader. 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 PooledByteBuffer Modifier and Type Method Description protected 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 PooledByteBuffer Constructor Description 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 PooledByteBuffer Modifier and Type Method Description void
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 PooledByteBuffer Modifier and Type Method Description void
Http2OpenListener. handleEvent(org.xnio.StreamConnection channel, PooledByteBuffer buffer)
-
Uses of PooledByteBuffer in io.undertow.util
Classes in io.undertow.util that implement PooledByteBuffer Modifier and Type Class Description class
ImmediatePooledByteBuffer
class
ReferenceCountedPooled
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 PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
ReferenceCountedPooled. createView()
PooledByteBuffer
ReferenceCountedPooled. createView(int viewSize)
Constructors in io.undertow.util with parameters of type PooledByteBuffer Constructor Description PooledAdaptor(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 PooledByteBuffer Modifier and Type Method Description protected PooledByteBuffer
StreamSourceFrameChannel. processFrameData(PooledByteBuffer frameData, boolean lastFragmentOfFrame)
Methods in io.undertow.websockets.core with parameters of type PooledByteBuffer Modifier and Type Method Description protected StreamSourceFrameChannel
WebSocketChannel. createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData)
StreamSourceFrameChannel
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 PooledByteBuffer Constructor Description StreamSourceFrameChannel(WebSocketChannel wsChannel, WebSocketFrameType type, int rsv, boolean finalFragment, PooledByteBuffer pooled, long frameLength, Masker masker, ChannelFunction... functions)
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 PooledByteBuffer Modifier and Type Method Description protected PooledByteBuffer
WebSocket07FrameSinkChannel. preWriteTransform(PooledByteBuffer body)
Methods in io.undertow.websockets.core.protocol.version07 with parameters of type PooledByteBuffer Modifier and Type Method Description protected PooledByteBuffer
WebSocket07FrameSinkChannel. preWriteTransform(PooledByteBuffer body)
-
Uses of PooledByteBuffer in io.undertow.websockets.extensions
Methods in io.undertow.websockets.extensions that return PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
CompositeExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage)
PooledByteBuffer
ExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage)
Transform the supplied buffer per this extension.PooledByteBuffer
NoopExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfFrame)
PooledByteBuffer
PerMessageDeflateFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage)
PooledByteBuffer
CompositeExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
PooledByteBuffer
ExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
Transform the supplied buffer per this extension.PooledByteBuffer
NoopExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
PooledByteBuffer
PerMessageDeflateFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
Methods in io.undertow.websockets.extensions with parameters of type PooledByteBuffer Modifier and Type Method Description PooledByteBuffer
CompositeExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage)
PooledByteBuffer
ExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage)
Transform the supplied buffer per this extension.PooledByteBuffer
NoopExtensionFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfFrame)
PooledByteBuffer
PerMessageDeflateFunction. transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage)
PooledByteBuffer
CompositeExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
PooledByteBuffer
ExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
Transform the supplied buffer per this extension.PooledByteBuffer
NoopExtensionFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
PooledByteBuffer
PerMessageDeflateFunction. transformForWrite(PooledByteBuffer pooledBuffer, StreamSinkFrameChannel channel, boolean lastFrame)
-