Uses of Enum Class
io.helidon.http.http2.Http2ErrorCode
Packages that use Http2ErrorCode
Package
Description
Helidon Common HTTP/2 classes.
Helidon WebServer Testing JUnit 5 Support for HTTP2.
-
Uses of Http2ErrorCode in io.helidon.http.http2
Methods in io.helidon.http.http2 that return Http2ErrorCodeModifier and TypeMethodDescriptionHttp2Exception.code()
Error code.Http2GoAway.errorCode()
Returns the value of theerrorCode
record component.Http2RstStream.errorCode()
Returns the value of theerrorCode
record component.static Http2ErrorCode
Http2ErrorCode.get
(int errorCode) Get error code enum based on error code number.static Http2ErrorCode
Returns the enum constant of this class with the specified name.static Http2ErrorCode[]
Http2ErrorCode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in io.helidon.http.http2 with parameters of type Http2ErrorCodeModifierConstructorDescriptionHttp2Exception
(Http2ErrorCode errorCode, String message) Exception with type and message.Http2Exception
(Http2ErrorCode errorCode, String message, Throwable cause) Exception with type, message and cause.Http2GoAway
(int lastStreamId, Http2ErrorCode errorCode, String details) Creates an instance of aHttp2GoAway
record class.Http2RstStream
(Http2ErrorCode errorCode) Creates an instance of aHttp2RstStream
record class. -
Uses of Http2ErrorCode in io.helidon.webserver.testing.junit5.http2
Methods in io.helidon.webserver.testing.junit5.http2 with parameters of type Http2ErrorCodeModifier and TypeMethodDescriptionHttp2TestConnection.assertGoAway
(Http2ErrorCode errorCode, String message, Duration timeout) Wait for the next frame and assert its frame type to be GO_AWAY.