public final class DefaultHttp2PushPromiseFrame extends Object implements Http2PushPromiseFrame
Http2PushPromiseFrame
Constructor and Description |
---|
DefaultHttp2PushPromiseFrame(Http2Headers http2Headers) |
DefaultHttp2PushPromiseFrame(Http2Headers http2Headers,
int padding) |
Modifier and Type | Method and Description |
---|---|
Http2Headers |
http2Headers()
Http2Headers sent in Push Promise |
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. |
String |
toString() |
public DefaultHttp2PushPromiseFrame(Http2Headers http2Headers)
public DefaultHttp2PushPromiseFrame(Http2Headers http2Headers, int padding)
public Http2StreamFrame pushStream(Http2FrameStream stream)
Http2PushPromiseFrame
Http2FrameStream
object for this frame.pushStream
in interface Http2PushPromiseFrame
public Http2FrameStream pushStream()
Http2PushPromiseFrame
Http2FrameStream
object for this frame, or null
if the
frame has yet to be associated with a stream.pushStream
in interface Http2PushPromiseFrame
public Http2Headers http2Headers()
Http2PushPromiseFrame
Http2Headers
sent in Push Promisehttp2Headers
in interface Http2PushPromiseFrame
public int padding()
Http2PushPromiseFrame
padding
in interface Http2PushPromiseFrame
public int promisedStreamId()
Http2PushPromiseFrame
promisedStreamId
in interface Http2PushPromiseFrame
public Http2PushPromiseFrame stream(Http2FrameStream stream)
Http2StreamFrame
Http2FrameStream
object for this frame.stream
in interface Http2PushPromiseFrame
stream
in interface Http2StreamFrame
public Http2FrameStream stream()
Http2StreamFrame
Http2FrameStream
object for this frame, or null
if the frame has yet to be associated
with a stream.stream
in interface Http2StreamFrame
public String name()
Http2Frame
name
in interface Http2Frame
Copyright © 2008–2024 The Netty Project. All rights reserved.