java.lang.Object
io.helidon.http.http2.Http2Continuation
- All Implemented Interfaces:
Http2Frame<Http2Flag.ContinuationFlags>
public final class Http2Continuation
extends Object
implements Http2Frame<Http2Flag.ContinuationFlags>
HTTP/2 Continuation frame.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Http2Continuation
create
(BufferData data) Create continuation from frame data.Frame type enum.Frame types.byte[]
getBytes()
Get bytes from this continuation.name()
Frame name.toFrameData
(Http2Settings settings, int streamId, Http2Flag.ContinuationFlags flags) Not implemented in headers, data, as these may use continuations.
-
Method Details
-
create
Create continuation from frame data.- Parameters:
data
- buffer with frame data- Returns:
- continuation
-
toFrameData
public Http2FrameData toFrameData(Http2Settings settings, int streamId, Http2Flag.ContinuationFlags flags) Description copied from interface:Http2Frame
Not implemented in headers, data, as these may use continuations.- Specified by:
toFrameData
in interfaceHttp2Frame<Http2Flag.ContinuationFlags>
- Parameters:
settings
- settingsstreamId
- stream id of this frameflags
- to use- Returns:
- frame data
-
name
Description copied from interface:Http2Frame
Frame name.- Specified by:
name
in interfaceHttp2Frame<Http2Flag.ContinuationFlags>
- Returns:
- frame type name
-
frameType
Description copied from interface:Http2Frame
Frame type enum.- Specified by:
frameType
in interfaceHttp2Frame<Http2Flag.ContinuationFlags>
- Returns:
- type of this frame
-
frameTypes
Description copied from interface:Http2Frame
Frame types.- Specified by:
frameTypes
in interfaceHttp2Frame<Http2Flag.ContinuationFlags>
- Returns:
- frame types
-
getBytes
public byte[] getBytes()Get bytes from this continuation.- Returns:
- bytes
-