@UnstableApi public class Http2StreamActiveEvent extends AbstractHttp2StreamStateEvent
Http2FrameCodec
when a stream becomes active.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
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
.Copyright © 2008–2017 The Netty Project. All rights reserved.