Class SpdySessionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.glassfish.grizzly.spdy.SpdySessionException
All Implemented Interfaces:
Serializable

public final class SpdySessionException extends IOException
SPDY Session exception. Unlike SpdyStreamException, this exception means severe problem related to the entire SPDY session.
Author:
Alexey Stashok
See Also:
  • 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 send RstStreamFrame with the specified streamId and rstReason before sending GoAwayFrame.
      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

      public String toString()
      Overrides:
      toString in class Throwable