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

Method toAsciiString

api/src/main/java/io/grpc/Metadata.java:608–608  ·  view source on GitHub ↗

Serialize a metadata value to a ASCII string that contains only the characters listed in the class comment of AsciiMarshaller. Otherwise the output may be considered invalid and discarded by the transport, or the call may fail. @param value to serialize @return serialized version of value,

(T value)

Source from the content-addressed store, hash-verified

606 * @return serialized version of value, or null if value cannot be transmitted.
607 */
608 String toAsciiString(T value);
609
610 /**
611 * Parse a serialized metadata value from an ASCII string.

Callers 2

toBytesMethod · 0.65
toBytesMethod · 0.65

Implementers 9

Http2ClientStreamTransportStatecore/src/main/java/io/grpc/internal/Ht
AcceptEncodingMarshallercore/src/main/java/io/grpc/internal/Gr
TimeoutMarshallercore/src/main/java/io/grpc/internal/Gr
BinaryToAsciiMarshallergcp-csm-observability/src/main/java/io
Metadataapi/src/main/java/io/grpc/Metadata.jav
StatusCodeMarshallerapi/src/main/java/io/grpc/Status.java
StatusMessageMarshallerapi/src/main/java/io/grpc/Status.java
PeerUidTestMarshallerbinder/src/testFixtures/java/io/grpc/b
OutboundHeadersBenchmarknetty/src/jmh/java/io/grpc/netty/Outbo

Calls

no outgoing calls

Tested by

no test coverage detected