Class PeerClosedStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.http.scaladsl.model.http2.Http2Exception
org.apache.pekko.http.scaladsl.model.http2.PeerClosedStreamException
- All Implemented Interfaces:
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:
-
Constructor Summary
ConstructorsConstructorDescriptionPeerClosedStreamException
(int streamId, String errorCode, int numericErrorCode) PeerClosedStreamException
(int streamId, Http2Protocol.ErrorCode errorCode) -
Method Summary
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 Details
-
PeerClosedStreamException
-
PeerClosedStreamException
-
-
Method Details
-
errorCode
-
numericErrorCode
public int numericErrorCode() -
streamId
public int streamId()
-