Package org.glassfish.grizzly.spdy
Class SpdySessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.glassfish.grizzly.spdy.SpdySessionException
- All Implemented Interfaces:
Serializable
SPDY Session exception.
Unlike
SpdyStreamException, this exception means severe problem
related to the entire SPDY session.- Author:
- Alexey Stashok
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpdySessionException(int streamId, int goAwayStatus) Construct SpdySessionException.SpdySessionException(int streamId, int goAwayStatus, int rstReason) Construct SpdySessionException. -
Method Summary
Modifier and TypeMethodDescriptionintintRstFrame reason, if not -1 RstFrame frame will be sent before GoAway.inttoString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SpdySessionException
public SpdySessionException(int streamId, int goAwayStatus) Construct SpdySessionException.- Parameters:
streamId-goAwayStatus-
-
SpdySessionException
public SpdySessionException(int streamId, int goAwayStatus, int rstReason) Construct SpdySessionException. If rstReason parameter is less than zero - the SPDY implementation has to sendRstStreamFramewith the specified streamId and rstReason before sendingGoAwayFrame.- Parameters:
streamId-goAwayStatus-rstReason-
-
-
Method Details
-
getStreamId
public int getStreamId() -
getGoAwayStatus
public int getGoAwayStatus() -
getRstReason
public int getRstReason()RstFrame reason, if not -1 RstFrame frame will be sent before GoAway.- Returns:
- RstFrame reason, if not -1 RstFrame frame will be sent before GoAway.
-
toString
-