Top Description Methods
io.netty.handler.codec.http2

public Interface Http2PushPromiseFrame

extends Http2StreamFrame
Known Direct Implementers
io.netty.handler.codec.http2.DefaultHttp2PushPromiseFrame
Annotations
@UnstableApi
Imports
io.netty.util.internal.UnstableApi

HTTP/2 Push Promise Frame

Method Summary

Modifier and TypeMethod and Description
public Http2Headers
http2Headers()

Http2Headers sent in Push Promise

public int
padding()

Frame padding to use.

public int
promisedStreamId()

Promised Stream ID

public Http2StreamFrame
pushStream(Http2FrameStream stream)

Set the Promise Http2FrameStream object for this frame.

public Http2FrameStream
pushStream()

Returns the Promise Http2FrameStream object for this frame, or null if the frame has yet to be associated with a stream.

public Http2PushPromiseFrame
Inherited from io.netty.handler.codec.http2.Http2StreamFrame:
stream

Method Detail

http2Headersback to summary
public Http2Headers http2Headers()

Http2Headers sent in Push Promise

paddingback to summary
public int padding()

Frame padding to use. Will be non-negative and less than 256.

promisedStreamIdback to summary
public int promisedStreamId()

Promised Stream ID

pushStreamback to summary
public Http2StreamFrame pushStream(Http2FrameStream stream)

Set the Promise Http2FrameStream object for this frame.

pushStreamback to summary
public Http2FrameStream pushStream()

Returns the Promise Http2FrameStream object for this frame, or null if the frame has yet to be associated with a stream.

streamback to summary
public Http2PushPromiseFrame stream(Http2FrameStream stream)

Redeclares io.netty.handler.codec.http2.Http2StreamFrame.stream.

Doc from io.netty.handler.codec.http2.Http2StreamFrame.stream.

Set the Http2FrameStream object for this frame.

Annotations
@Override