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, setStreamIdpublic 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 Http2Framepublic int getType()
getType in class Http2Framepublic Buffer toBuffer(Http2Connection http2Connection)
toBuffer in class Http2Frameprotected int calcLength()
Http2FramecalcLength in class Http2Frameprotected Map<Integer,String> getFlagNamesMap()
getFlagNamesMap in class Http2FrameMap with flag bit - to - flag name mappingpublic void recycle()
recycle in interface Cacheablerecycle in class Http2FrameCopyright © 2024 Oracle Corporation. All rights reserved.