public class Http2HeadersFrame extends Http2Frame
Http2Headers represents an HTTP2 header frame.| Constructor and Description |
|---|
Http2HeadersFrame(int streamId,
io.netty.handler.codec.http2.Http2Headers headers,
boolean endOfStream)
Constructs an HTTP/2 header frame with the given HTTP/2 headers.
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.codec.http2.Http2Headers |
getHeaders()
Gets the
Http2Headers belongs to this header frame. |
getStreamId, isEndOfStream, setEndOfStream, setStreamIdpublic Http2HeadersFrame(int streamId,
io.netty.handler.codec.http2.Http2Headers headers,
boolean endOfStream)
streamId - id of the streamheaders - the http2 headersendOfStream - whether this frame marks the end of the streamCopyright © 2021 WSO2. All rights reserved.