@UnstableApi public final class DefaultHttp2PushPromiseFrame extends java.lang.Object implements Http2PushPromiseFrame
Http2PushPromiseFrame
构造器和说明 |
---|
DefaultHttp2PushPromiseFrame(Http2Headers http2Headers) |
DefaultHttp2PushPromiseFrame(Http2Headers http2Headers,
int padding) |
限定符和类型 | 方法和说明 |
---|---|
Http2Headers |
http2Headers()
Http2Headers sent in Push Promise |
java.lang.String |
name()
Returns the name of the HTTP/2 frame e.g.
|
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. |
Http2FrameStream |
stream()
Returns the
Http2FrameStream object for this frame, or null if the frame has yet to be associated
with a stream. |
Http2PushPromiseFrame |
stream(Http2FrameStream stream)
Set the
Http2FrameStream object for this frame. |
java.lang.String |
toString() |
public DefaultHttp2PushPromiseFrame(Http2Headers http2Headers)
public DefaultHttp2PushPromiseFrame(Http2Headers http2Headers, int padding)
public Http2StreamFrame pushStream(Http2FrameStream stream)
Http2PushPromiseFrame
Http2FrameStream
object for this frame.pushStream
在接口中 Http2PushPromiseFrame
public Http2FrameStream pushStream()
Http2PushPromiseFrame
Http2FrameStream
object for this frame, or null
if the
frame has yet to be associated with a stream.pushStream
在接口中 Http2PushPromiseFrame
public Http2Headers http2Headers()
Http2PushPromiseFrame
Http2Headers
sent in Push Promisehttp2Headers
在接口中 Http2PushPromiseFrame
public int padding()
Http2PushPromiseFrame
padding
在接口中 Http2PushPromiseFrame
public int promisedStreamId()
Http2PushPromiseFrame
promisedStreamId
在接口中 Http2PushPromiseFrame
public Http2PushPromiseFrame stream(Http2FrameStream stream)
Http2StreamFrame
Http2FrameStream
object for this frame.stream
在接口中 Http2PushPromiseFrame
stream
在接口中 Http2StreamFrame
public Http2FrameStream stream()
Http2StreamFrame
Http2FrameStream
object for this frame, or null
if the frame has yet to be associated
with a stream.stream
在接口中 Http2StreamFrame
public java.lang.String name()
Http2Frame
name
在接口中 Http2Frame
public java.lang.String toString()
toString
在类中 java.lang.Object