Searched refs:MESSAGE_ACCEPT_ENCODING_KEY (Results 1 – 6 of 6) sorted by relevance
20 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()
23 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()
27 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()
95 public static final Metadata.Key<byte[]> MESSAGE_ACCEPT_ENCODING_KEY = field in GrpcUtil
75 GrpcUtil.MESSAGE_ACCEPT_ENCODING_KEY, in marshalOld()
292 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()