public class GoAwayFrame extends Http2Frame
Modifier and Type | Class and Description |
---|---|
static class |
GoAwayFrame.GoAwayFrameBuilder |
Http2Frame.Http2FrameBuilder<T extends Http2Frame.Http2FrameBuilder>
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
DONT_RECYCLE
Modifier and Type | Method and Description |
---|---|
static GoAwayFrame.GoAwayFrameBuilder |
builder() |
protected int |
calcLength()
Recalculates the length
|
static Http2Frame |
fromBuffer(int length,
Buffer frameBuffer) |
Buffer |
getAdditionalDebugData() |
ErrorCode |
getErrorCode() |
protected Map<Integer,String> |
getFlagNamesMap() |
int |
getLastStreamId() |
int |
getType() |
void |
recycle() |
Buffer |
toBuffer(Http2Connection http2Connection) |
String |
toString() |
clearFlag, getFlags, getFrameBuffer, getLength, getStreamId, headerToString, isFlagSet, onPayloadUpdated, setFlag, setFlags, setFrameBuffer, setStreamId
public static final int TYPE
public static Http2Frame fromBuffer(int length, Buffer frameBuffer)
public static GoAwayFrame.GoAwayFrameBuilder builder()
public int getLastStreamId()
public ErrorCode getErrorCode()
public Buffer getAdditionalDebugData()
public String toString()
toString
in class Http2Frame
public int getType()
getType
in class Http2Frame
public Buffer toBuffer(Http2Connection http2Connection)
toBuffer
in class Http2Frame
protected int calcLength()
Http2Frame
calcLength
in class Http2Frame
protected Map<Integer,String> getFlagNamesMap()
getFlagNamesMap
in class Http2Frame
Map
with flag bit - to - flag name mappingpublic void recycle()
recycle
in interface Cacheable
recycle
in class Http2Frame
Copyright © 2024 Oracle Corporation. All rights reserved.