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

pack-priv Class Http2HeadersParser

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

Parser for HTTP2 Headers frames
Author
Stuart Douglas

Field Summary

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

Constructor Summary

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

Method Summary

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

Field Detail

DEPENDENCY_MASKback to summary
private static final int DEPENDENCY_MASK
dependentStreamIdback to summary
private int dependentStreamId
exclusiveback to summary
private boolean exclusive
headersEndStreamback to summary
private boolean headersEndStream
paddingLengthback to summary
private int paddingLength
weightback to summary
private int weight

Constructor Detail

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

Method Detail

getDependentStreamIdback to summary
pack-priv int getDependentStreamId()
getPaddingLengthback to summary
protected int getPaddingLength()

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

getWeightback to summary
pack-priv int getWeight()
handleBeforeHeaderback to summary
protected boolean handleBeforeHeader(ByteBuffer resource, Http2FrameHeaderParser headerParser)

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

Annotations
@Override
isExclusiveback to summary
public boolean isExclusive()
isHeadersEndStreamback to summary
pack-priv boolean isHeadersEndStream()