Searched refs:statusForCode (Results 1 – 4 of 4) sorted by relevance
73 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(-1).getCode()); in http2ErrorStatusForCode()74 assertSame(Http2Error.NO_ERROR.status(), Http2Error.statusForCode(0)); in http2ErrorStatusForCode()75 assertSame(Http2Error.HTTP_1_1_REQUIRED.status(), Http2Error.statusForCode(0xD)); in http2ErrorStatusForCode()76 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(0xD + 1).getCode()); in http2ErrorStatusForCode()
368 Status status = GrpcUtil.Http2Error.statusForCode((int) errorCode) in onRstStreamRead()702 Status status = GrpcUtil.Http2Error.statusForCode((int) errorCode) in statusFromGoAway()
386 public static Status statusForCode(long code) { in statusForCode() method in GrpcUtil.Http2Error
1146 Status status = GrpcUtil.Http2Error.statusForCode(errorCode.httpCode) in goAway()