Package akka.http.scaladsl.model.http2
Class PeerClosedStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
akka.http.scaladsl.model.http2.Http2Exception
akka.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
ConstructorDescriptionPeerClosedStreamException
(int streamId, Http2Protocol.ErrorCode errorCode) PeerClosedStreamException
(int streamId, String errorCode, int numericErrorCode) -
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()
-