MCPcopy Create free account
hub / github.com/grpc/grpc-java / getStatus

Method getStatus

api/src/main/java/io/grpc/StatusOr.java:65–67  ·  view source on GitHub ↗

Returns the status. If there is a value (which can be null), returns OK.

()

Source from the content-addressed store, hash-verified

63
64 /** Returns the status. If there is a value (which can be null), returns OK. */
65 public Status getStatus() {
66 return status == null ? Status.OK : status;
67 }
68
69 /**
70 * Note that StatusOr containing statuses, the equality comparision is delegated to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected