Package org.eclipse.jetty.http2.frames
Class GoAwayFrame
java.lang.Object
org.eclipse.jetty.http2.frames.Frame
org.eclipse.jetty.http2.frames.GoAwayFrame
-
Field Summary
Fields inherited from class org.eclipse.jetty.http2.frames.Frame
DEFAULT_MAX_SIZE, EMPTY_ARRAY, HEADER_LENGTH, MAX_MAX_SIZE
-
Constructor Summary
-
Method Summary
-
Field Details
-
GRACEFUL
-
-
Constructor Details
-
GoAwayFrame
public GoAwayFrame(int lastStreamId, int error, byte[] payload)
-
-
Method Details
-
isGraceful
public boolean isGraceful()- Returns:
- whether this GOAWAY frame is graceful, i.e. its
lastStreamId == Integer.MAX_VALUE
-
getLastStreamId
public int getLastStreamId() -
getError
public int getError() -
getPayload
public byte[] getPayload() -
tryConvertPayload
-
toString
-