-
- All Superinterfaces:
Http2Frame
,Http2StreamFrame
- All Known Implementing Classes:
DefaultHttp2PushPromiseFrame
@UnstableApi public interface Http2PushPromiseFrame extends Http2StreamFrame
HTTP/2 Push Promise Frame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Http2Headers
http2Headers()
Http2Headers
sent in Push Promiseint
padding()
Frame padding to use.int
promisedStreamId()
Promised Stream IDHttp2FrameStream
pushStream()
Returns the PromiseHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.Http2StreamFrame
pushStream(Http2FrameStream stream)
Set the PromiseHttp2FrameStream
object for this frame.Http2PushPromiseFrame
stream(Http2FrameStream stream)
Set theHttp2FrameStream
object for this frame.-
Methods inherited from interface io.netty5.handler.codec.http2.Http2Frame
name
-
Methods inherited from interface io.netty5.handler.codec.http2.Http2StreamFrame
stream
-
-
-
-
Method Detail
-
pushStream
Http2StreamFrame pushStream(Http2FrameStream stream)
Set the PromiseHttp2FrameStream
object for this frame.
-
pushStream
Http2FrameStream pushStream()
Returns the PromiseHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.
-
http2Headers
Http2Headers http2Headers()
Http2Headers
sent in Push Promise
-
padding
int padding()
Frame padding to use. Will be non-negative and less than 256.
-
promisedStreamId
int promisedStreamId()
Promised Stream ID
-
stream
Http2PushPromiseFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrame
Set theHttp2FrameStream
object for this frame.- Specified by:
stream
in interfaceHttp2StreamFrame
-
-