Uses of Interface
io.helidon.common.buffers.BufferData
Packages that use BufferData
Package
Description
Byte buffers and byte operations.
Socket abstraction and data writing.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Helidon Common HTTP/2 classes.
Helidon Media Support.
Helidon WebClient APIs shared by all types of clients.
Helidon WebClient HTTP/2 Support.
Helidon WebClient WebSocket Support.
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP/1.1 specific APIs.
Helidon WebServer HTTP/2 Support.
Helidon WebServer HTTP/2 SPI.
Helidon WebServer SPI.
Helidon WebServer Testing JUnit5 Support.
Helidon WebServer Testing JUnit 5 Support for HTTP2.
WebSocket server support.
WebSocket APIs.
-
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.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) voidSmartSocketWriter.write(BufferData buffer) voidSmartSocketWriter.write(BufferData... buffers) voidSocketWriter.writeNow(BufferData buffer) voidSocketWriter.writeNow(BufferData... buffers) -
Uses of BufferData in io.helidon.http
Methods in io.helidon.http with parameters of type BufferDataModifier and TypeMethodDescriptiondefault voidHeader.writeHttp1Header(BufferData buffer) Write the current header as an HTTP header to the provided buffer. -
Uses of BufferData in io.helidon.http.http2
Methods in io.helidon.http.http2 that return BufferDataModifier and TypeMethodDescriptionHttp2FrameData.data()Returns the value of thedatarecord component.Http2Ping.data()Underlying buffer.static BufferDataHttp2Util.prefaceData()HTTP/2 preface data as a buffer data.Http2FrameHeader.write()Write this header as buffer data.Methods in io.helidon.http.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, boolean endOfStream) Data frame.Http2HuffmanDecoder.decodeString(BufferData data, int length) Decode string.default voidHttp2FrameListener.frame(SocketContext ctx, int streamId, BufferData data) Frame data.voidHttp2LoggingFrameListener.frame(SocketContext ctx, int streamId, BufferData data) default voidHttp2FrameListener.frameHeader(SocketContext ctx, int streamId, BufferData frameHeader) Frame header data.voidHttp2LoggingFrameListener.frameHeader(SocketContext ctx, int streamId, 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.http.http2 with parameters of type BufferDataModifierConstructorDescriptionHttp2FrameData(Http2FrameHeader header, BufferData data) Creates an instance of aHttp2FrameDatarecord class. -
Uses of BufferData in io.helidon.http.media
Methods in io.helidon.http.media that return types with arguments of type BufferDataModifier and TypeMethodDescriptionprotected Function<Integer, BufferData> ReadableEntityBase.readEntityFunction()Function to request entity bytes.Constructor parameters in io.helidon.http.media with type arguments of type BufferDataModifierConstructorDescriptionprotectedReadableEntityBase(Consumer<Boolean> entityRequestedCallback, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable) Create a new base.protectedReadableEntityBase(Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable) Create a new base. -
Uses of BufferData in io.helidon.webclient.api
Method parameters in io.helidon.webclient.api with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic ClientResponseEntityClientResponseEntity.create(Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ClientRequestHeaders requestHeaders, ClientResponseHeaders responseHeaders, MediaContext mediaContext) Create a new client response entity. -
Uses of BufferData in io.helidon.webclient.http2
Methods in io.helidon.webclient.http2 that return BufferDataMethods in io.helidon.webclient.http2 with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp2ClientStream.data(Http2FrameHeader header, BufferData data, boolean endOfStream) voidHttp2ClientStream.writeData(BufferData entityBytes, boolean endOfStream) Writes a buffer data into the stream. -
Uses of BufferData in io.helidon.webclient.websocket
Methods in io.helidon.webclient.websocket 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.webserver.http
Method parameters in io.helidon.webserver.http with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic ServerRequestEntityServerRequestEntity.create(Consumer<Boolean> entityRequestedCallback, UnaryOperator<InputStream> streamFilter, ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of BufferData in io.helidon.webserver.http1
Methods in io.helidon.webserver.http1 with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp1LoggingConnectionListener.data(ConnectionContext ctx, BufferData data) Http1ConnectionSelector.supports(BufferData request) -
Uses of BufferData in io.helidon.webserver.http2
Methods in io.helidon.webserver.http2 with parameters of type BufferDataMethod parameters in io.helidon.webserver.http2 with type arguments of type BufferDataModifier and TypeMethodDescriptionstatic Http2ServerRequestEntityHttp2ServerRequestEntity.create(UnaryOperator<InputStream> streamFilter, UnaryOperator<InputStream> decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of BufferData in io.helidon.webserver.http2.spi
Methods in io.helidon.webserver.http2.spi with parameters of type BufferDataModifier and TypeMethodDescriptionvoidHttp2SubProtocolSelector.SubProtocolHandler.data(Http2FrameHeader header, BufferData data) Data was received. -
Uses of BufferData in io.helidon.webserver.spi
Methods in io.helidon.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.webserver.testing.junit5
Methods in io.helidon.webserver.testing.junit5 with parameters of type BufferDataModifier and TypeMethodDescriptionintDirectSocket.read(BufferData buffer) voidDirectSocket.write(BufferData buffer) -
Uses of BufferData in io.helidon.webserver.testing.junit5.http2
Methods in io.helidon.webserver.testing.junit5.http2 with parameters of type BufferDataModifier and TypeMethodDescriptionHttp2TestConnection.request(int streamId, Method method, String path, WritableHeaders<?> headers, BufferData payload) Send HTTP request with given stream id with single data frame created from supplied buffer data, dataframe has end of stream flag. -
Uses of BufferData in io.helidon.webserver.websocket
Methods in io.helidon.webserver.websocket with parameters of type BufferDataModifier and TypeMethodDescriptionWsConnection.ping(BufferData bufferData) WsConnection.pong(BufferData bufferData) WsConnection.send(BufferData bufferData, boolean last) -
Uses of BufferData in io.helidon.websocket
Methods in io.helidon.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.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.