Class QuicStreamResetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.quic.QuicException
io.netty.handler.codec.quic.QuicStreamResetException
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the optional application protocol error code set onRESET_STREAMframes.Methods inherited from class QuicException
errorMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QuicStreamResetException
-
-
Method Details
-
applicationProtocolCode
public long applicationProtocolCode()Returns the optional application protocol error code set onRESET_STREAMframes. Note: this is not yet implemented forSTOP_SENDINGframes.- Returns:
- the optional application protocol error code or
-1when no such code is provided.
-