Home
last modified time | relevance | path

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

/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DCompressionTest.java20 import static io.grpc.internal.GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY;
220 assertEqualsString("fzip", clientResponseHeaders.get(MESSAGE_ACCEPT_ENCODING_KEY)); in compression()
222 assertNull(clientResponseHeaders.get(MESSAGE_ACCEPT_ENCODING_KEY)); in compression()
226 assertEqualsString("fzip", serverResponseHeaders.get(MESSAGE_ACCEPT_ENCODING_KEY)); in compression()
228 assertNull(serverResponseHeaders.get(MESSAGE_ACCEPT_ENCODING_KEY)); in compression()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServerCallImpl.java23 import static io.grpc.internal.GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY;
74 this.messageAcceptEncoding = inboundHeaders.get(MESSAGE_ACCEPT_ENCODING_KEY); in ServerCallImpl()
113 headers.discardAll(MESSAGE_ACCEPT_ENCODING_KEY); in sendHeaders()
117 headers.put(MESSAGE_ACCEPT_ENCODING_KEY, advertisedEncodings); in sendHeaders()
DClientCallImpl.java27 import static io.grpc.internal.GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY;
165 headers.discardAll(MESSAGE_ACCEPT_ENCODING_KEY); in prepareHeaders()
169 headers.put(MESSAGE_ACCEPT_ENCODING_KEY, advertisedEncodings); in prepareHeaders()
DGrpcUtil.java95 public static final Metadata.Key<byte[]> MESSAGE_ACCEPT_ENCODING_KEY = field in GrpcUtil
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/
DDecompressorRegistryBenchmark.java75 GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY, in marshalOld()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DClientCallImplTest.java292 new String(actual.get(GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY), GrpcUtil.US_ASCII)); in advertisedEncodingsAreSent()
407 new String(m.get(GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY), GrpcUtil.US_ASCII)); in prepareHeaders_acceptedMessageEncodingsAdded()
470 new String(m.get(GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY), GrpcUtil.US_ASCII)); in prepareHeaders_acceptedMessageAndContentEncodingsAdded()
485 m.put(GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY, "gzip".getBytes(GrpcUtil.US_ASCII)); in prepareHeaders_removeReservedHeaders()
493 assertNull(m.get(GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY)); in prepareHeaders_removeReservedHeaders()