/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | Http2ClientStreamTransportStateTest.java | 51 InternalMetadata.keyOf(":status", Metadata.ASCII_STRING_MARSHALLER); 79 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_notifiesListener() 93 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_doesntRequire200() 106 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_noHttpStatus() 122 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), "text/html"); in transportHeadersReceived_wrongContentType_200() 138 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), "text/html"); in transportHeadersReceived_wrongContentType_401() 163 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_handles_1xx() 177 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_twice() 196 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), "text/html"); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() 200 headersAgain.put(Metadata.Key.of("key", Metadata.ASCII_STRING_MARSHALLER), testString); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() [all …]
|
D | TransportFrameUtilTest.java | 21 import static io.grpc.Metadata.ASCII_STRING_MARSHALLER; 58 private static final Key<String> PLAIN_STRING = Key.of("plainstring", ASCII_STRING_MARSHALLER); 61 Key.of("string", ASCII_STRING_MARSHALLER);
|
D | CallCredentialsApplyingTest.java | 89 Metadata.Key.of("header1", Metadata.ASCII_STRING_MARSHALLER); 92 Metadata.Key.of("test-creds", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | MetadataTest.java | 235 h.put(Metadata.Key.of("test", Metadata.ASCII_STRING_MARSHALLER), "ascii"); in verifyToString() 239 t.put(Metadata.Key.of("test", Metadata.ASCII_STRING_MARSHALLER), "ascii"); in verifyToString() 251 h.put(Metadata.Key.of("test", Metadata.ASCII_STRING_MARSHALLER), "ascii"); in verifyToString_usingBinary() 255 t.put(Metadata.Key.of("test", Metadata.ASCII_STRING_MARSHALLER), "ascii"); in verifyToString_usingBinary() 270 = Metadata.Key.of("If-Modified-Since", Metadata.ASCII_STRING_MARSHALLER); in testKeyCaseHandling() 272 = Metadata.Key.of("if-modified-since", Metadata.ASCII_STRING_MARSHALLER); in testKeyCaseHandling() 274 = Metadata.Key.of("IF-MODIFIED-SINCE", Metadata.ASCII_STRING_MARSHALLER); in testKeyCaseHandling() 313 Key<?> k1 = Key.of("case", Metadata.ASCII_STRING_MARSHALLER); in keyEqualsHashNameWorks() 315 Key<?> k2 = Key.of("CASE", Metadata.ASCII_STRING_MARSHALLER); in keyEqualsHashNameWorks() 330 Key.of("io.grpc/key1", Metadata.ASCII_STRING_MARSHALLER); in invalidKeyName()
|
D | ClientInterceptorsTest.java | 239 final Metadata.Key<String> credKey = Metadata.Key.of("Cred", Metadata.ASCII_STRING_MARSHALLER); in addOutboundHeaders()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | GrpcUtil.java | 90 Metadata.Key.of(GrpcUtil.MESSAGE_ENCODING, Metadata.ASCII_STRING_MARSHALLER); 102 Metadata.Key.of(GrpcUtil.CONTENT_ENCODING, Metadata.ASCII_STRING_MARSHALLER); 126 Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER); 132 Metadata.Key.of("te", Metadata.ASCII_STRING_MARSHALLER); 138 Metadata.Key.of("user-agent", Metadata.ASCII_STRING_MARSHALLER);
|
D | RetriableStream.java | 53 Metadata.Key.of("grpc-previous-rpc-attempts", Metadata.ASCII_STRING_MARSHALLER); 57 Metadata.Key.of("grpc-retry-pushback-ms", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/ |
D | GrpclbConstants.java | 33 Metadata.Key.of("lb-token", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/ |
D | HeaderServerInterceptor.java | 36 Metadata.Key.of("custom_server_header_key", Metadata.ASCII_STRING_MARSHALLER);
|
D | HeaderClientInterceptor.java | 39 Metadata.Key.of("custom_client_header_key", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | RoundRobinLoadBalancerTest.java | 412 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in noStickinessEnabled_withStickyHeader() 477 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in stickinessEnabled_withStickyHeader() 507 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in stickinessEnabled_withDifferentStickyHeaders() 552 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in stickiness_goToTransientFailure_pick_backToReady() 600 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in stickiness_goToTransientFailure_backToReady_pick() 653 Key<String> stickinessKey = Key.of("my-sticky-key", Metadata.ASCII_STRING_MARSHALLER); in stickiness_oneSubchannelShutdown()
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | Util.java | 35 = Metadata.Key.of("x-grpc-test-echo-initial", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | HeadersTest.java | 43 Metadata.Key<String> userKey = Metadata.Key.of("user-key", Metadata.ASCII_STRING_MARSHALLER); in createRequestHeaders_sanitizes()
|
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/ |
D | ClientAuthInterceptorTest.java | 65 Metadata.ASCII_STRING_MARSHALLER); 67 "Extra-Authorization", Metadata.ASCII_STRING_MARSHALLER);
|
D | GoogleAuthLibraryCallCredentialsTest.java | 78 Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/ |
D | CronetClientStreamTest.java | 250 metadata.get(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER))); in read() 252 "test-value", metadata.get(Metadata.Key.of("test-key", Metadata.ASCII_STRING_MARSHALLER))); in read() 333 trailers.get(Metadata.Key.of("test-trailer-key", Metadata.ASCII_STRING_MARSHALLER))); in streamSucceeded() 336 trailers.get(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER))); in streamSucceeded() 764 Metadata.Key<String> userKey = Metadata.Key.of("user-key", Metadata.ASCII_STRING_MARSHALLER); in reservedHeadersStripped()
|
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/ |
D | ClientAuthInterceptor.java | 144 Metadata.Key<String> headerKey = Metadata.Key.of(key, Metadata.ASCII_STRING_MARSHALLER);
|
D | GoogleAuthLibraryCallCredentials.java | 205 Metadata.Key<String> headerKey = Metadata.Key.of(key, Metadata.ASCII_STRING_MARSHALLER); in toHeaders()
|
/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/ |
D | StatusProtoTest.java | 175 Metadata.Key.of("test-metadata", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | UtilsTest.java | 51 Metadata.Key.of("user-key", Metadata.ASCII_STRING_MARSHALLER);
|
D | NettyClientStreamTest.java | 321 .get(Metadata.Key.of("random", Metadata.ASCII_STRING_MARSHALLER))); in invalidInboundHeadersCancelStream() 342 .get(Metadata.Key.of("Content-Type", Metadata.ASCII_STRING_MARSHALLER))); in invalidInboundContentTypeShouldCancelStream()
|
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/ |
D | SafeMethodCachingInterceptor.java | 150 Metadata.Key.of("cache-control", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | BinlogHelperTest.java | 96 Metadata.Key.of("a", Metadata.ASCII_STRING_MARSHALLER); 98 Metadata.Key.of("b", Metadata.ASCII_STRING_MARSHALLER); 100 Metadata.Key.of("c", Metadata.ASCII_STRING_MARSHALLER);
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | RoundRobinLoadBalancerFactory.java | 340 this.key = Key.of(stickinessKey, Metadata.ASCII_STRING_MARSHALLER); in StickinessState()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | Metadata.java | 93 public static final AsciiMarshaller<String> ASCII_STRING_MARSHALLER = field in Metadata
|