Home
last modified time | relevance | path

Searched refs:ASCII_STRING_MARSHALLER (Results 1 – 25 of 31) sorted by relevance

12

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java51 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 …]
DTransportFrameUtilTest.java21 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);
DCallCredentialsApplyingTest.java89 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/
DMetadataTest.java235 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()
DClientInterceptorsTest.java239 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/
DGrpcUtil.java90 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);
DRetriableStream.java53 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/
DGrpclbConstants.java33 Metadata.Key.of("lb-token", Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DHeaderServerInterceptor.java36 Metadata.Key.of("custom_server_header_key", Metadata.ASCII_STRING_MARSHALLER);
DHeaderClientInterceptor.java39 Metadata.Key.of("custom_client_header_key", Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java412 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/
DUtil.java35 = Metadata.Key.of("x-grpc-test-echo-initial", Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DHeadersTest.java43 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/
DClientAuthInterceptorTest.java65 Metadata.ASCII_STRING_MARSHALLER);
67 "Extra-Authorization", Metadata.ASCII_STRING_MARSHALLER);
DGoogleAuthLibraryCallCredentialsTest.java78 Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientStreamTest.java250 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/
DClientAuthInterceptor.java144 Metadata.Key<String> headerKey = Metadata.Key.of(key, Metadata.ASCII_STRING_MARSHALLER);
DGoogleAuthLibraryCallCredentials.java205 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/
DStatusProtoTest.java175 Metadata.Key.of("test-metadata", Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DUtilsTest.java51 Metadata.Key.of("user-key", Metadata.ASCII_STRING_MARSHALLER);
DNettyClientStreamTest.java321 .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/
DSafeMethodCachingInterceptor.java150 Metadata.Key.of("cache-control", Metadata.ASCII_STRING_MARSHALLER);
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinlogHelperTest.java96 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/
DRoundRobinLoadBalancerFactory.java340 this.key = Key.of(stickinessKey, Metadata.ASCII_STRING_MARSHALLER); in StickinessState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMetadata.java93 public static final AsciiMarshaller<String> ASCII_STRING_MARSHALLER = field in Metadata

12