public class GoAway extends Object
Constructor and Description |
---|
GoAway() |
GoAway(GoAway that) |
GoAway(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
Buffer |
getDebugData() |
long |
getErrorCode() |
int |
getLastStreamId() |
GoAway |
setDebugData(Buffer debugData)
Set the additional debug data
|
GoAway |
setErrorCode(long errorCode) |
GoAway |
setLastStreamId(int lastStreamId)
Set the last stream id.
|
JsonObject |
toJson() |
public GoAway()
public GoAway(JsonObject json)
public GoAway(GoAway that)
public long getErrorCode()
public GoAway setErrorCode(long errorCode)
public int getLastStreamId()
public GoAway setLastStreamId(int lastStreamId)
lastStreamId
- the last stream idpublic Buffer getDebugData()
public GoAway setDebugData(Buffer debugData)
debugData
- the datapublic JsonObject toJson()
Copyright © 2023 Eclipse. All rights reserved.