Top Description Fields Constructors Methods
io.vertx.core.http

public Class GoAway

extends Object
Class Inheritance
Annotations
@DataObject
@JsonGen
publicConverter:false
Imports
io.vertx.codegen.annotations.DataObject, io.vertx.codegen.json.annotations.JsonGen, io.vertx.core.buffer.Buffer, io.vertx.core.json.JsonObject

A GOAWAY frame.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private Buffer
debugData

References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
private long
private int

Constructor Summary

AccessConstructor and Description
public
public
GoAway(JsonObject json)
References Deprecated JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

public
GoAway(GoAway that)

Method Summary

Modifier and TypeMethod and Description
public Buffer

Returns:

additional debug data
getDebugData
()
References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

public long

Returns:

the GOAWAY error code
getErrorCode
()

public int

Returns:

the highest numbered stream identifier for which the sender of the frame might have taken some action on or might yet take action
getLastStreamId
()

public GoAway

Returns:

a reference to this, so the API can be used fluently
setDebugData
(Buffer
the data
debugData
)
References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

Set the additional debug data

public GoAway
setErrorCode(long errorCode)

public GoAway

Returns:

a reference to this, so the API can be used fluently
setLastStreamId
(int
the last stream id
lastStreamId
)

Set the last stream id.

public JsonObject
toJson()
References Deprecated JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

debugDataback to summary
private Buffer debugData

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

errorCodeback to summary
private long errorCode
lastStreamIdback to summary
private int lastStreamId

Constructor Detail

GoAwayback to summary
public GoAway()
GoAwayback to summary
public GoAway(JsonObject json)

References Deprecated

JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

GoAwayback to summary
public GoAway(GoAway that)

Method Detail

getDebugDataback to summary
public Buffer getDebugData()

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Returns:Buffer

additional debug data

getErrorCodeback to summary
public long getErrorCode()
Returns:long

the GOAWAY error code

getLastStreamIdback to summary
public int getLastStreamId()
Returns:int

the highest numbered stream identifier for which the sender of the frame might have taken some action on or might yet take action

setDebugDataback to summary
public GoAway setDebugData(Buffer debugData)

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Set the additional debug data

Parameters
debugData:Buffer

the data

Returns:GoAway

a reference to this, so the API can be used fluently

setErrorCodeback to summary
public GoAway setErrorCode(long errorCode)
setLastStreamIdback to summary
public GoAway setLastStreamId(int lastStreamId)

Set the last stream id.

Parameters
lastStreamId:int

the last stream id

Returns:GoAway

a reference to this, so the API can be used fluently

toJsonback to summary
public JsonObject toJson()

References Deprecated

JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.