Class GoAway
java.lang.Object
io.vertx.core.http.GoAway
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintsetDebugData(Buffer debugData) Set the additional debug datasetErrorCode(long errorCode) setLastStreamId(int lastStreamId) Set the last stream id.toJson()
-
Constructor Details
-
GoAway
public GoAway() -
GoAway
-
GoAway
-
-
Method Details
-
getErrorCode
public long getErrorCode()- Returns:
- the GOAWAY error code
-
setErrorCode
-
getLastStreamId
public int getLastStreamId()- Returns:
- the highest numbered stream identifier for which the sender of the frame might have taken some action on or might yet take action
-
setLastStreamId
Set the last stream id.- Parameters:
lastStreamId- the last stream id- Returns:
- a reference to this, so the API can be used fluently
-
getDebugData
- Returns:
- additional debug data
-
setDebugData
-
toJson
-