Home
last modified time | relevance | path

Searched refs:httpStatusCode (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java268 public static Status httpStatusToGrpcStatus(int httpStatusCode) { in httpStatusToGrpcStatus() argument
269 return httpStatusToGrpcCode(httpStatusCode).toStatus() in httpStatusToGrpcStatus()
270 .withDescription("HTTP status code " + httpStatusCode); in httpStatusToGrpcStatus()
273 private static Status.Code httpStatusToGrpcCode(int httpStatusCode) { in httpStatusToGrpcCode() argument
274 if (httpStatusCode >= 100 && httpStatusCode < 200) { in httpStatusToGrpcCode()
278 switch (httpStatusCode) { in httpStatusToGrpcCode()