diff --git a/core/src/main/java/io/grpc/ServerCall.java b/core/src/main/java/io/grpc/ServerCall.java index f52aa25857..02bd72640b 100644 --- a/core/src/main/java/io/grpc/ServerCall.java +++ b/core/src/main/java/io/grpc/ServerCall.java @@ -32,8 +32,6 @@ package io.grpc; import com.google.errorprone.annotations.DoNotMock; -import java.net.SocketAddress; -import javax.net.ssl.SSLSession; /** * Encapsulates a single call received from a remote client. Calls may not simply be unary @@ -54,27 +52,6 @@ import javax.net.ssl.SSLSession; */ @DoNotMock("Use InProcessTransport and make a fake server instead") public abstract class ServerCall { - /** - * {@link Attributes.Key} for the remote address of server call attributes - * {@link ServerCall#getAttributes()} - * - * @deprecated use the equivalent {@link io.grpc.Grpc#TRANSPORT_ATTR_REMOTE_ADDR} instead - */ - @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1710") - @Deprecated - public static final Attributes.Key REMOTE_ADDR_KEY = - Grpc.TRANSPORT_ATTR_REMOTE_ADDR; - - /** - * {@link Attributes.Key} for the SSL session of server call attributes - * {@link ServerCall#getAttributes()} - * - * @deprecated use the equivalent {@link io.grpc.Grpc#TRANSPORT_ATTR_SSL_SESSION} instead - */ - @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1710") - @Deprecated - public static final Attributes.Key SSL_SESSION_KEY = - Grpc.TRANSPORT_ATTR_SSL_SESSION; /** * Callbacks for consuming incoming RPC messages. @@ -238,15 +215,6 @@ public abstract class ServerCall { return Attributes.EMPTY; } - /** - * @deprecated use {@link #getAttributes()} instead. - */ - @Deprecated - @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1779") - public Attributes attributes() { - return getAttributes(); - } - /** * The {@link MethodDescriptor} for the call. */ diff --git a/testing/src/main/java/io/grpc/testing/DeadlineSubject.java b/testing/src/main/java/io/grpc/testing/DeadlineSubject.java index fa7b4f603e..61c668f9ea 100644 --- a/testing/src/main/java/io/grpc/testing/DeadlineSubject.java +++ b/testing/src/main/java/io/grpc/testing/DeadlineSubject.java @@ -110,6 +110,8 @@ public final class DeadlineSubject extends ComparableSubject