Home
last modified time | relevance | path

Searched refs:trailersCapture (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/
DMetadataUtils.java106 AtomicReference<Metadata> trailersCapture) { in captureMetadata() argument
108 newCaptureMetadataInterceptor(headersCapture, trailersCapture)); in captureMetadata()
119 AtomicReference<Metadata> headersCapture, AtomicReference<Metadata> trailersCapture) { in newCaptureMetadataInterceptor() argument
120 return new MetadataCapturingClientInterceptor(headersCapture, trailersCapture); in newCaptureMetadataInterceptor()
126 final AtomicReference<Metadata> trailersCapture; field in MetadataUtils.MetadataCapturingClientInterceptor
130 AtomicReference<Metadata> headersCapture, AtomicReference<Metadata> trailersCapture) { in MetadataCapturingClientInterceptor() argument
132 this.trailersCapture = checkNotNull(trailersCapture, "trailersCapture"); in MetadataCapturingClientInterceptor()
152 trailersCapture.set(null); in start()
171 trailersCapture.set(trailers); in onClose()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java990 AtomicReference<Metadata> trailersCapture = new AtomicReference<Metadata>(); in exchangeMetadataUnaryCall() local
992 stub = MetadataUtils.captureMetadata(stub, headersCapture, trailersCapture); in exchangeMetadataUnaryCall()
998 Assert.assertEquals(contextValue, trailersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataUnaryCall()
1013 AtomicReference<Metadata> trailersCapture = new AtomicReference<Metadata>(); in exchangeMetadataStreamingCall() local
1015 stub = MetadataUtils.captureMetadata(stub, headersCapture, trailersCapture); in exchangeMetadataStreamingCall()
1046 Assert.assertEquals(contextValue, trailersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataStreamingCall()
1424 AtomicReference<Metadata> trailersCapture = new AtomicReference<Metadata>(); in customMetadata() local
1425 blockingStub = MetadataUtils.captureMetadata(blockingStub, headersCapture, trailersCapture); in customMetadata()
1432 Arrays.equals(trailingBytes, trailersCapture.get().get(Util.ECHO_TRAILING_METADATA_KEY))); in customMetadata()
1443 trailersCapture = new AtomicReference<Metadata>(); in customMetadata()
[all …]