Uses of Interface
io.helidon.common.buffers.BufferData
Packages that use BufferData
Package
Description
Byte buffers and byte operations.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Socket abstraction and data writing.
Entity Media handling support.
HTTP/2 types common for client and server.
HTTP/2 WebServer.
HTTP/2 WebServer SPI.
Unit and integration testing support for NĂma WebServer and JUnit 5.
WebClient APIs shared by all types of clients.
WebServer HTTP specific APIs.
WebServer HTTP/1.1 specific APIs.
WebServer SPI.
WebSocket APIs.
WebSocket client.
WebSocket server support.
-
Uses of BufferData in io.helidon.common.buffers
Subinterfaces of BufferData in io.helidon.common.buffersModifier and TypeInterfaceDescriptioninterfaceComposite (mutable) buffer data.Methods in io.helidon.common.buffers that return BufferDataModifier and TypeMethodDescriptionBufferData.clear()Reset read and write position and make the buffer empty.default BufferDataBufferData.copy()Copy the underlying data into a new buffer that does not retain any reference.static BufferDataBufferData.create(byte[] bytes) Fixed size buffer data fully written.static BufferDataBufferData.create(byte[] bytes, int position, int length) Fixed size buffer data fully written.static BufferDataBufferData.create(int length) Fixed size buffer data.static BufferDataBufferData.create(BufferData... data) Buffer data mapping multiple buffers.static BufferDataCreate buffer data from a string.static BufferDataBufferData.create(List<BufferData> data) Create composite buffer data from a list.static BufferDataBufferData.createReadOnly(byte[] bytes, int offset, int length) Fixed size buffer data fully written.static BufferDataBufferData.empty()Empty buffer data.DataReader.getBuffer(int length) Get the next buffer of the requested size without moving position.static BufferDataBufferData.growing(int initialLength) Growing buffer data.DataReader.readBuffer()Read next buffer.DataReader.readBuffer(int length) Read next buffer of defined size.BufferData.reset()Reset read and write position of this buffer.BufferData.rewind()Set read position to 0, so others may read the same data from the start.BufferData.trim(int x) Trim the last x bytes from a buffer (remove them).BufferData.write(int value) Write a byte.default BufferDataBufferData.writeHpackInt(int value, int prefixedInt, int bitPrefix) Write hpack integer to this buffer.default BufferDataBufferData.writeInt16(int number) Write 16-bit integer.default BufferDataBufferData.writeInt24(int number) Write 24-bit integer.default BufferDataBufferData.writeInt32(int number) Write 32-bit integer.default BufferDataBufferData.writeInt8(int number) Write 8-bit integer.default BufferDataBufferData.writeUnsignedInt32(long number) Write 32-bit unsigned integer.Methods in io.helidon.common.buffers with parameters of type BufferDataModifier and TypeMethodDescriptionCompositeBufferData.add(BufferData bufferData) Add this buffer to the list of buffers already in this composite buffer.static BufferDataBufferData.create(BufferData... data) Buffer data mapping multiple buffers.static CompositeBufferDataBufferData.createComposite(BufferData first) Composite buffer data that are mutable with initial value.default voidDataListener.data(T ctx, BufferData data) Data received or sent.default voidBufferData.write(BufferData toWrite) Write the provided buffer to this buffer.voidBufferData.write(BufferData toWrite, int length) Write n bytes from the provided buffer to this buffer.voidDataWriter.write(BufferData buffer) Write buffer, may delay writing and may write on a different thread.voidDataWriter.write(BufferData... buffers) Write buffers, may delay writing and may write on a different thread.voidDataWriter.writeNow(BufferData buffer) Write buffer to underlying transport blocking until the buffer is written.voidDataWriter.writeNow(BufferData... buffers) Write buffers to underlying transport blocking until the buffers are written.Method parameters in io.helidon.common.buffers with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic BufferDataBufferData.create(List<BufferData> data) Create composite buffer data from a list. -
Uses of BufferData in io.helidon.common.http
Methods in io.helidon.common.http with parameters of type BufferDataModifier and TypeMethodDescriptiondefault voidHttp.HeaderValue.writeHttp1Header(BufferData buffer) Write the current header as an HTTP header to the provided buffer. -
Uses of BufferData in io.helidon.common.socket
Methods in io.helidon.common.socket with parameters of type BufferDataModifier and TypeMethodDescriptionintHelidonSocket.read(BufferData buffer) Read bytes from the socket.intPlainSocket.read(BufferData buffer) voidHelidonSocket.write(BufferData buffer) Write teh buffer to the underlying socket.voidPlainSocket.write(BufferData buffer) voidSocketWriter.writeNow(BufferData buffer) voidSocketWriter.writeNow(BufferData... buffers) -
Uses of BufferData in io.helidon.nima.http.media
Methods in io.helidon.nima.http.media that return types with arguments of type BufferDataModifier and TypeMethodDescriptionprotected Function<Integer,BufferData> ReadableEntityBase.readEntityFunction()Function to request entity bytes. -
Uses of BufferData in io.helidon.nima.http2
Methods in io.helidon.nima.http2 that return BufferDataModifier and TypeMethodDescriptionHttp2FrameData.data()Returns the value of thedatarecord component.Http2Ping.data()Underlying buffer.Http2FrameHeader.write()Write this header as buffer data.Methods in io.helidon.nima.http2 with parameters of type BufferDataModifier and TypeMethodDescriptionstatic Http2ContinuationHttp2Continuation.create(BufferData data) Create continuation from frame data.static Http2DataFrameHttp2DataFrame.create(BufferData bufferData) Create data frame from buffer.static Http2FrameHeaderHttp2FrameHeader.create(BufferData bytes) Create a header from header bytes.static Http2GoAwayHttp2GoAway.create(BufferData frame) Create a go away frame from frame data.static Http2PingHttp2Ping.create(BufferData data) Create ping from buffer.static Http2PriorityHttp2Priority.create(BufferData frame) Create priority frame from frame data.static Http2RstStreamHttp2RstStream.create(BufferData bufferData) Create a RST stream from frame data.static Http2SettingsHttp2Settings.create(BufferData frame) Settings frame from frame data.static Http2WindowUpdateHttp2WindowUpdate.create(BufferData bufferData) Create from frame data.voidHttp2Stream.data(Http2FrameHeader header, BufferData data) Data frame.Http2HuffmanDecoder.decodeString(BufferData data, int length) Decode string.default voidHttp2FrameListener.frame(SocketContext ctx, BufferData data) Frame data.voidHttp2LoggingFrameListener.frame(SocketContext ctx, BufferData data) default voidHttp2FrameListener.frameHeader(SocketContext ctx, BufferData frameHeader) Frame header data.voidHttp2LoggingFrameListener.frameHeader(SocketContext ctx, BufferData headerData) Http2Setting.read(BufferData frame) Read setting value from the frame buffer.voidHttp2Headers.write(Http2Headers.DynamicTable table, Http2HuffmanEncoder huffman, BufferData growingBuffer) Write headers to a buffer.voidHttp2Setting.write(BufferData data, T value) Write setting to the provided buffer.Constructors in io.helidon.nima.http2 with parameters of type BufferDataModifierConstructorDescriptionHttp2FrameData(Http2FrameHeader header, BufferData data) Creates an instance of aHttp2FrameDatarecord class. -
Uses of BufferData in io.helidon.nima.http2.webserver
Methods in io.helidon.nima.http2.webserver with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp2Stream.data(Http2FrameHeader header, BufferData data) Http2ConnectionSelector.supports(BufferData request) Method parameters in io.helidon.nima.http2.webserver with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic Http2ServerRequestEntityHttp2ServerRequestEntity.create(ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of BufferData in io.helidon.nima.http2.webserver.spi
Methods in io.helidon.nima.http2.webserver.spi with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp2SubProtocolSelector.SubProtocolHandler.data(Http2FrameHeader header, BufferData data) Data was received. -
Uses of BufferData in io.helidon.nima.testing.junit5.webserver
Methods in io.helidon.nima.testing.junit5.webserver with parameters of type BufferDataModifier and TypeMethodDescriptionintDirectSocket.read(BufferData buffer) voidDirectSocket.write(BufferData buffer) -
Uses of BufferData in io.helidon.nima.webclient
Method parameters in io.helidon.nima.webclient with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic ClientResponseEntityClientResponseEntity.create(ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ClientRequestHeaders requestHeaders, ClientResponseHeaders responseHeaders, MediaContext mediaContext) Create a new client response entity. -
Uses of BufferData in io.helidon.nima.webserver.http
Method parameters in io.helidon.nima.webserver.http with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic ServerRequestEntityServerRequestEntity.create(Consumer<Boolean> entityRequestedCallback, ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of BufferData in io.helidon.nima.webserver.http1
Methods in io.helidon.nima.webserver.http1 with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp1LoggingConnectionListener.data(ConnectionContext ctx, BufferData data) Http1ConnectionSelector.supports(BufferData request) -
Uses of BufferData in io.helidon.nima.webserver.spi
Methods in io.helidon.nima.webserver.spi with parameters of type BufferDataModifier and TypeMethodDescriptionServerConnectionSelector.supports(BufferData data) Does this selector support current server connection. -
Uses of BufferData in io.helidon.nima.websocket
Methods in io.helidon.nima.websocket that return BufferDataModifier and TypeMethodDescriptionClientWsFrame.maskedData()Masked data of this frame, to be sent over the network.WsFrame.payloadData()Always unmasked.Methods in io.helidon.nima.websocket with parameters of type BufferDataModifier and TypeMethodDescriptionstatic ClientWsFrameClientWsFrame.control(WsOpCode opCode, BufferData bufferData) Create a new control frame.static ServerWsFrameServerWsFrame.control(WsOpCode opCode, BufferData bufferData) Create a new control frame.static ClientWsFrameClientWsFrame.data(BufferData bufferData, boolean last) Create a binary data frame.static ServerWsFrameServerWsFrame.data(BufferData bufferData, boolean last) Create a binary data frame.default voidWsListener.onMessage(WsSession session, BufferData buffer, boolean last) Received binary fragment.default voidWsListener.onPing(WsSession session, BufferData buffer) Received ping.default voidWsListener.onPong(WsSession session, BufferData buffer) Received pong.WsSession.ping(BufferData bufferData) Send ping.WsSession.pong(BufferData bufferData) Send pong.WsSession.send(BufferData bufferData, boolean last) Send binary fragment. -
Uses of BufferData in io.helidon.nima.websocket.client
Methods in io.helidon.nima.websocket.client with parameters of type BufferDataModifier and TypeMethodDescriptionClientWsConnection.ping(BufferData bufferData) ClientWsConnection.pong(BufferData bufferData) ClientWsConnection.send(BufferData bufferData, boolean last) -
Uses of BufferData in io.helidon.nima.websocket.webserver
Methods in io.helidon.nima.websocket.webserver with parameters of type BufferDataModifier and TypeMethodDescriptionWsConnection.ping(BufferData bufferData) WsConnection.pong(BufferData bufferData) WsConnection.send(BufferData bufferData, boolean last)