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

Method getAttributes

api/src/main/java/io/grpc/ClientCall.java:285–289  ·  view source on GitHub ↗

Returns additional properties of the call. May only be called after Listener#onHeaders or Listener#onClose. If called prematurely, the implementation may throw IllegalStateException or return arbitrary Attributes. @return non-null attributes @throws IllegalSt

()

Source from the content-addressed store, hash-verified

283 * @throws IllegalStateException (optional) if called before permitted
284 */
285 @ExperimentalApi("https://github.com/grpc/grpc-java/issues/2607")
286 @Grpc.TransportAttr
287 public Attributes getAttributes() {
288 return Attributes.EMPTY;
289 }
290}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected