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:
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
-
-
Constructor Summary
Constructors Constructor Description PeerClosedStreamException(int streamId, Http2Protocol.ErrorCode errorCode)PeerClosedStreamException(int streamId, java.lang.String errorCode, int numericErrorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringerrorCode()intnumericErrorCode()intstreamId()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PeerClosedStreamException
public PeerClosedStreamException(int streamId, java.lang.String errorCode, int numericErrorCode)
-
PeerClosedStreamException
public PeerClosedStreamException(int streamId, Http2Protocol.ErrorCode errorCode)
-
-