Uses of Enum Class
org.miaixz.bus.http.metric.http.Http2ErrorCode
Packages that use Http2ErrorCode
-
Uses of Http2ErrorCode in org.miaixz.bus.http.metric.http
Fields in org.miaixz.bus.http.metric.http declared as Http2ErrorCodeMethods in org.miaixz.bus.http.metric.http that return Http2ErrorCodeModifier and TypeMethodDescriptionstatic Http2ErrorCodeHttp2ErrorCode.fromHttp2(int code) Http2Stream.getErrorCode()Returns the reason why this stream was closed, or null if it closed normally or has not yet been closed.static Http2ErrorCodeReturns 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.Methods in org.miaixz.bus.http.metric.http with parameters of type Http2ErrorCodeModifier and TypeMethodDescriptionvoidHttp2Stream.close(Http2ErrorCode rstStatusCode, IOException errorException) Abnormally terminate this stream.voidHttp2Stream.closeLater(Http2ErrorCode errorCode) Abnormally terminate this stream.voidHttp2Writer.goAway(int lastGoodStreamId, Http2ErrorCode errorCode, byte[] debugData) 告诉对方停止创建流,我们最后处理lastGoodStreamId,如果没有处理流,则为零.voidPushObserver.onReset(int streamId, Http2ErrorCode errorCode) 指示此流被取消的原因voidHttp2Writer.rstStream(int streamId, Http2ErrorCode errorCode) voidHttp2Connection.shutdown(Http2ErrorCode statusCode) Degrades this connection such that new streams can neither be created locally, nor accepted from the remote peer.Constructors in org.miaixz.bus.http.metric.http with parameters of type Http2ErrorCode