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
public final class QuicStreamResetException extends QuicException
Signals a stream reset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuicStreamResetException(String message, long applicationProtocolCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longapplicationProtocolCode()Returns the optional application protocol error code set onRESET_STREAMframes.-
Methods inherited from class io.netty.handler.codec.quic.QuicException
error
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QuicStreamResetException
public QuicStreamResetException(String message, long applicationProtocolCode)
-
-
Method Detail
-
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.
-
-