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 SummaryConstructorsConstructorDescriptionPeerClosedStreamException(int streamId, String errorCode, int numericErrorCode) PeerClosedStreamException(int streamId, Http2Protocol.ErrorCode errorCode) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.util.control.NoStackTracefillInStackTrace
- 
Constructor Details- 
PeerClosedStreamException
- 
PeerClosedStreamException
 
- 
- 
Method Details- 
errorCode
- 
numericErrorCodepublic int numericErrorCode()
- 
streamIdpublic int streamId()
 
-