Top Description Fields Constructors Methods
io.undertow.protocols.http2

pack-priv Class Http2PushPromiseParser

extends Http2HeaderBlockParser
Class Inheritance
Imports
org.xnio.Bits, java.nio.ByteBuffer

Parser for HTTP2 Headers frames
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private int
private int
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv
Http2PushPromiseParser(int frameLength, HpackDecoder hpackDecoder, boolean client, int maxHeaders, int streamId, int maxHeaderListSize)

Method Summary

Modifier and TypeMethod and Description
protected int
public int
protected boolean
Inherited from io.undertow.protocols.http2.Http2HeaderBlockParser:
emitHeadergetHeaderMapgetStreamIdhandleDataisContentExpectedisInvalidmoreData

Field Detail

paddingLengthback to summary
private int paddingLength
promisedStreamIdback to summary
private int promisedStreamId
STREAM_MASKback to summary
private static final int STREAM_MASK

Constructor Detail

Http2PushPromiseParserback to summary
pack-priv Http2PushPromiseParser(int frameLength, HpackDecoder hpackDecoder, boolean client, int maxHeaders, int streamId, int maxHeaderListSize)

Method Detail

getPaddingLengthback to summary
protected int getPaddingLength()

Implements abstract io.undertow.protocols.http2.Http2HeaderBlockParser.getPaddingLength.

getPromisedStreamIdback to summary
public int getPromisedStreamId()
handleBeforeHeaderback to summary
protected boolean handleBeforeHeader(ByteBuffer resource, Http2FrameHeaderParser headerParser)

Implements abstract io.undertow.protocols.http2.Http2HeaderBlockParser.handleBeforeHeader.

Annotations
@Override