@UnstableApi public interface Http2PushPromiseFrame extends Http2StreamFrame
限定符和类型 | 方法和说明 |
---|---|
Http2Headers |
http2Headers()
Http2Headers sent in Push Promise |
int |
padding()
Frame padding to use.
|
int |
promisedStreamId()
Promised Stream ID
|
Http2FrameStream |
pushStream()
Returns the Promise
Http2FrameStream object for this frame, or null if the
frame has yet to be associated with a stream. |
Http2StreamFrame |
pushStream(Http2FrameStream stream)
Set the Promise
Http2FrameStream object for this frame. |
Http2PushPromiseFrame |
stream(Http2FrameStream stream)
Set the
Http2FrameStream object for this frame. |
stream
name
Http2StreamFrame pushStream(Http2FrameStream stream)
Http2FrameStream
object for this frame.Http2FrameStream pushStream()
Http2FrameStream
object for this frame, or null
if the
frame has yet to be associated with a stream.Http2Headers http2Headers()
Http2Headers
sent in Push Promiseint padding()
int promisedStreamId()
Http2PushPromiseFrame stream(Http2FrameStream stream)
Http2StreamFrame
Http2FrameStream
object for this frame.stream
在接口中 Http2StreamFrame