@UnstableApi public class Http2StreamActiveEvent extends AbstractHttp2StreamStateEvent
Http2FrameCodec
when a stream becomes active.Modifier and Type | Field and Description |
---|---|
private Http2HeadersFrame |
headers |
Constructor and Description |
---|
Http2StreamActiveEvent(int streamId) |
Http2StreamActiveEvent(int streamId,
Http2HeadersFrame headers) |
Modifier and Type | Method and Description |
---|---|
Http2HeadersFrame |
headers()
For outbound streams, this method returns the same
Http2HeadersFrame object as the one that
made the stream active. |
streamId
private final Http2HeadersFrame headers
public Http2StreamActiveEvent(int streamId)
public Http2StreamActiveEvent(int streamId, Http2HeadersFrame headers)
public Http2HeadersFrame headers()
Http2HeadersFrame
object as the one that
made the stream active. For inbound streams, this method returns null
.