枚举类的使用
com.lark.oapi.okhttp.internal.http2.ErrorCode
使用ErrorCode的程序包
-
com.lark.oapi.okhttp.internal.http2中ErrorCode的使用
修饰符和类型方法说明static ErrorCodeErrorCode.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 ErrorCode返回带有指定名称的该类的枚举常量。static ErrorCode[]ErrorCode.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明voidHttp2Stream.close(ErrorCode rstStatusCode, IOException errorException) Abnormally terminate this stream.voidHttp2Stream.closeLater(ErrorCode errorCode) Abnormally terminate this stream.voidIndicates the reason why this stream was canceled.voidDegrades this connection such that new streams can neither be created locally, nor accepted from the remote peer.参数类型为ErrorCode的com.lark.oapi.okhttp.internal.http2中的构造器