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 PooledByteBufferDeflatingStreamSinkConduit.currentBufferThe 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 AbstractAjpClientStreamSourceChannelAjpClientChannel.createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected longAjpClientResponseStreamSourceChannel.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 AbstractHttp2StreamSourceChannelHttp2Channel.createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected AbstractHttp2StreamSourceChannelHttp2Channel.createChannelImpl(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) protected longHttp2StreamSourceChannel.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 PooledByteBufferAbstractServerConnection.extraBytesAny 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 TypeMethodDescriptionvoidDelegateOpenListener.handleEvent(org.xnio.StreamConnection channel, PooledByteBuffer additionalData) voidAbstractServerConnection.setExtraBytes(PooledByteBuffer extraBytes) static voidConnectors.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 PooledByteBufferAbstractFramedStreamSinkChannel.preWriteTransform(PooledByteBuffer body) protected PooledByteBufferAbstractFramedStreamSourceChannel.processFrameData(PooledByteBuffer data, boolean lastFragmentOfFrame) Methods in io.undertow.server.protocol.framed with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected abstract RAbstractFramedChannel.createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) Method that creates the actual stream source channel implementation that is in use.protected voidAbstractFramedStreamSourceChannel.dataReady(FrameHeaderData headerData, PooledByteBuffer frameData) Called when data has been read from the underlying channel.protected PooledByteBufferAbstractFramedStreamSinkChannel.preWriteTransform(PooledByteBuffer body) protected PooledByteBufferAbstractFramedStreamSourceChannel.processFrameData(PooledByteBuffer data, boolean lastFragmentOfFrame) booleanAbstractFramedStreamSinkChannel.send(PooledByteBuffer pooled) Send a buffer to this channel.protected booleanAbstractFramedStreamSinkChannel.sendInternal(PooledByteBuffer pooled) protected longAbstractFramedStreamSourceChannel.updateFrameDataRemaining(PooledByteBuffer frameData, long frameDataRemaining) Constructors in io.undertow.server.protocol.framed with parameters of type PooledByteBufferModifierConstructorDescriptionprotectedAbstractFramedChannel(org.xnio.StreamConnection connectedStreamChannel, ByteBufferPool bufferPool, FramePriority<C, R, S> framePriority, PooledByteBuffer readData, org.xnio.OptionMap settings) Create a newAbstractFramedChannel8AbstractFramedStreamSourceChannel(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 TypeMethodDescriptionvoidHttpOpenListener.handleEvent(org.xnio.StreamConnection channel, PooledByteBuffer buffer) voidHttpServerConnection.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 TypeMethodDescriptionvoidHttp2OpenListener.handleEvent(org.xnio.StreamConnection channel, PooledByteBuffer buffer) -
Uses of PooledByteBuffer in io.undertow.util
Classes in io.undertow.util that implement PooledByteBufferModifier and TypeClassDescriptionclassclassA 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 PooledByteBufferStreamSourceFrameChannel.processFrameData(PooledByteBuffer frameData, boolean lastFragmentOfFrame) Methods in io.undertow.websockets.core with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected StreamSourceFrameChannelWebSocketChannel.createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) WebSocketChannel.PartialFrame.getChannel(PooledByteBuffer data) protected PooledByteBufferStreamSourceFrameChannel.processFrameData(PooledByteBuffer frameData, boolean lastFragmentOfFrame) static voidWebSockets.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 voidWebSockets.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> voidWebSockets.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> voidWebSockets.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 voidWebSockets.sendBinaryBlocking(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete binary message using blocking IO Automatically frees the pooled byte buffer when done.static voidWebSockets.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 voidWebSockets.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> voidWebSockets.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> voidWebSockets.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 voidWebSockets.sendPingBlocking(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete ping message using blocking IO Automatically frees the pooled byte buffer when done.static voidWebSockets.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 voidWebSockets.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> voidWebSockets.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> voidWebSockets.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 voidWebSockets.sendPongBlocking(PooledByteBuffer pooledData, WebSocketChannel wsChannel) Sends a complete pong message using blocking IO Automatically frees the pooled byte buffer when done.static voidWebSockets.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 voidWebSockets.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> voidWebSockets.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> voidWebSockets.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 voidWebSockets.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 PooledByteBufferModifierConstructorDescriptionprotectedStreamSourceFrameChannel(WebSocketChannel wsChannel, WebSocketFrameType type, int rsv, boolean finalFragment, PooledByteBuffer pooled, long frameLength, Masker masker, ChannelFunction... functions) protectedStreamSourceFrameChannel(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 PooledByteBufferWebSocket07FrameSinkChannel.preWriteTransform(PooledByteBuffer body) Methods in io.undertow.websockets.core.protocol.version07 with parameters of type PooledByteBufferModifier and TypeMethodDescriptionprotected PooledByteBufferWebSocket07FrameSinkChannel.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)