aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorZHANG Dapeng <zdapeng@google.com>2017-11-01 09:37:42 -0700
committerGitHub <noreply@github.com>2017-11-01 09:37:42 -0700
commit8a9660c7008c20151f38db78fe59a0796083ae11 (patch)
treea36144de56ddcabfe5957ad8ee325c776306d873 /testing
parentd6ff4c259f373e9643b3e51185158f7030a33c91 (diff)
downloadgrpc-grpc-java-8a9660c7008c20151f38db78fe59a0796083ae11.tar.gz
testing: move TestUtils.recordServerCallInterceptor internal
Diffstat (limited to 'testing')
-rw-r--r--testing/src/main/java/io/grpc/testing/TestUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/src/main/java/io/grpc/testing/TestUtils.java b/testing/src/main/java/io/grpc/testing/TestUtils.java
index eedd25b14..c584de595 100644
--- a/testing/src/main/java/io/grpc/testing/TestUtils.java
+++ b/testing/src/main/java/io/grpc/testing/TestUtils.java
@@ -76,7 +76,10 @@ public class TestUtils {
/**
* Capture the request attributes. Useful for testing ServerCalls.
* {@link ServerCall#getAttributes()}
+ *
+ * @deprecated Not for public use
*/
+ @Deprecated
public static ServerInterceptor recordServerCallInterceptor(
final AtomicReference<ServerCall<?, ?>> serverCallCapture) {
return new ServerInterceptor() {