Package io.netty.handler.codec.quic
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
Signals a stream reset.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the optional application protocol error code set onRESET_STREAMframes.Methods inherited from class io.netty.handler.codec.quic.QuicException
errorMethods inherited from class java.lang.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.
-