Top Description Fields Constructors Methods
org.glassfish.grizzly.http2.frames

public Class UnknownFrame

extends Http2Frame
Class Inheritance
Imports
java.util.Collections, .Map, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.memory.MemoryManager

Holder class when we encounter frames of an unknown type.

Field Summary

Modifier and TypeField and Description
private final int
private final int
Inherited from org.glassfish.grizzly.http2.frames.Http2Frame:
DONT_RECYCLEFRAME_HEADER_SIZEframeBuffer

Constructor Summary

AccessConstructor and Description
public
UnknownFrame(final int type, final int length)

Method Summary

Modifier and TypeMethod and Description
protected int
protected Map<Integer, String>
public int
public Buffer
toBuffer(final MemoryManager<E extends Buffer> memoryManager)

Implements abstract org.glassfish.grizzly.http2.frames.Http2Frame.toBuffer.

Inherited from org.glassfish.grizzly.http2.frames.Http2Frame:
clearFlaggetFlagsgetLengthgetStreamIdheaderToStringisFlagSetonPayloadUpdatedrecycleserializeFrameHeadersetFlagsetFlagssetFrameBuffersetStreamIdtoBuffertoString

Field Detail

lengthback to summary
private final int length

Hides org.glassfish.grizzly.http2.frames.Http2Frame.length.

typeback to summary
private final int type

Constructor Detail

UnknownFrameback to summary
public UnknownFrame(final int type, final int length)

Method Detail

calcLengthback to summary
protected int calcLength()

Implements abstract org.glassfish.grizzly.http2.frames.Http2Frame.calcLength.

Annotations
@Override
getFlagNamesMapback to summary
protected Map<Integer, String> getFlagNamesMap()

Implements abstract org.glassfish.grizzly.http2.frames.Http2Frame.getFlagNamesMap.

Annotations
@Override
getTypeback to summary
public int getType()

Implements abstract org.glassfish.grizzly.http2.frames.Http2Frame.getType.

Annotations
@Override
toBufferback to summary
public Buffer toBuffer(final MemoryManager<E extends Buffer> memoryManager)

Implements abstract org.glassfish.grizzly.http2.frames.Http2Frame.toBuffer.

Annotations
@Override