Searched refs:InternalMetadata (Results 1 – 15 of 15) sorted by relevance
21 import io.grpc.InternalMetadata;36 private static final InternalMetadata.TrustedAsciiMarshaller<Integer> HTTP_STATUS_MARSHALLER =37 new InternalMetadata.TrustedAsciiMarshaller<Integer>() {54 "Malformed status code " + new String(serialized, InternalMetadata.US_ASCII));58 private static final Metadata.Key<Integer> HTTP2_STATUS = InternalMetadata.keyOf(":status",
22 import io.grpc.InternalMetadata;49 byte[][] serializedHeaders = InternalMetadata.serialize(headers); in toHttp2Headers()
34 import io.grpc.InternalMetadata;35 import io.grpc.InternalMetadata.TrustedAsciiMarshaller;96 InternalMetadata.keyOf(GrpcUtil.MESSAGE_ACCEPT_ENCODING, new AcceptEncodingMarshaller());108 InternalMetadata.keyOf(GrpcUtil.CONTENT_ACCEPT_ENCODING, new AcceptEncodingMarshaller());
29 import io.grpc.InternalMetadata;81 return InternalMetadata.newMetadata(h.numHeaders(), h.namesAndValues()); in convertHeaders()83 return InternalMetadata.newMetadata(convertHeadersToArray(http2Headers)); in convertHeaders()144 return InternalMetadata.newMetadata(h.numHeaders(), h.namesAndValues()); in convertTrailers()146 return InternalMetadata.newMetadata(convertHeadersToArray(http2Headers)); in convertTrailers()
35 import io.grpc.InternalMetadata;671 byte[][] serialized = InternalMetadata.serialize(metadata); in respondWithHttpError()
21 import io.grpc.InternalMetadata;43 return InternalMetadata.newMetadata(convertHeadersToArray(http2Headers)); in convertHeaders()47 return InternalMetadata.newMetadata(convertHeadersToArray(http2Headers)); in convertTrailers()
23 import io.grpc.InternalMetadata;61 List<Header> okhttpHeaders = new ArrayList<>(7 + InternalMetadata.headerCount(headers)); in createRequestHeaders()
28 import io.grpc.InternalMetadata;96 Metadata recoveredHeaders = InternalMetadata.newMetadata(rawSerialized); in testToAndFromHttp2Headers()
30 import io.grpc.InternalMetadata;51 InternalMetadata.keyOf(":status", Metadata.ASCII_STRING_MARSHALLER);
29 public final class InternalMetadata { class
160 typedef InternalMetadataWithArena InternalMetadata; typedef
30 import io.grpc.InternalMetadata;519 InternalMetadata.newMetadata(TransportFrameUtil.toRawSerializedHeaders(headerValues)); in reportHeaders()
44 import io.grpc.InternalMetadata;689 if (maxHeaderBytes > 0 && (serialized = InternalMetadata.serialize(metadata)) != null) {
909 const dng_metadata &InternalMetadata () const in InternalMetadata() function
849 return InternalMetadata ().Clone (Allocator ()); in CloneInternalMetadata()