Uses of Enum Class
io.github.mahmoudimus.http3.Http3ErrorCode
Packages that use Http3ErrorCode
-
Uses of Http3ErrorCode in io.github.mahmoudimus.http3
Methods in io.github.mahmoudimus.http3 that return Http3ErrorCodeModifier and TypeMethodDescriptionHttp3Exception.errorCode()The code to close the connection (connection error) or reset the stream (stream error) with.static Http3ErrorCodeHttp3ErrorCode.forCode(long code) The error code for a wire value.static Http3ErrorCodeReturns the enum constant of this class with the specified name.static Http3ErrorCode[]Http3ErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.mahmoudimus.http3 with parameters of type Http3ErrorCodeModifier and TypeMethodDescriptionstatic Http3ExceptionHttp3Exception.connectionError(Http3ErrorCode errorCode, String message) An error that ends the connection.static Http3ExceptionHttp3Exception.streamError(long streamId, Http3ErrorCode errorCode, String message) An error that ends only the given stream.Constructors in io.github.mahmoudimus.http3 with parameters of type Http3ErrorCodeModifierConstructorDescriptionprotectedHttp3Exception(Http3ErrorCode errorCode, long streamId, String message)