Class PeerClosedStreamException

  • All Implemented Interfaces:
    java.io.Serializable, scala.util.control.NoStackTrace

    public class PeerClosedStreamException
    extends Http2Exception
    implements scala.util.control.NoStackTrace
    Exception that will be reported on the request entity stream when the peer closed the stream.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String errorCode()  
      int numericErrorCode()  
      int streamId()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.util.control.NoStackTrace

        fillInStackTrace
    • Constructor Detail

      • PeerClosedStreamException

        public PeerClosedStreamException​(int streamId,
                                         java.lang.String errorCode,
                                         int numericErrorCode)
      • PeerClosedStreamException

        public PeerClosedStreamException​(int streamId,
                                         Http2Protocol.ErrorCode errorCode)
    • Method Detail

      • errorCode

        public java.lang.String errorCode()
      • numericErrorCode

        public int numericErrorCode()
      • streamId

        public int streamId()