public class GoAwayResultInfo extends Object
A container for GOAWAY frames metadata: the last good stream id and the session status.
| Constructor and Description |
|---|
GoAwayResultInfo(int lastStreamId,
SessionStatus sessionStatus)
Creates a new
GoAwayResultInfo with the given last good stream id and session status |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastStreamId() |
SessionStatus |
getSessionStatus() |
public GoAwayResultInfo(int lastStreamId,
SessionStatus sessionStatus)
Creates a new GoAwayResultInfo with the given last good stream id and session status
lastStreamId - the last good stream idsessionStatus - the session statuspublic int getLastStreamId()
public SessionStatus getSessionStatus()
Copyright © 1995-2015 Webtide. All Rights Reserved.