Skip to content

Commit a947178

Browse files
Remove deprecated ClientInterceptors classes
1 parent b7822e8 commit a947178

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

core/src/main/java/io/grpc/ClientInterceptors.java

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333

3434
import com.google.common.base.Preconditions;
3535

36-
import io.grpc.ForwardingClientCall.SimpleForwardingClientCall;
37-
import io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener;
38-
3936
import java.util.Arrays;
4037
import java.util.List;
4138

@@ -93,19 +90,6 @@ public <ReqT, RespT> ClientCall<ReqT, RespT> newCall(
9390
}
9491
}
9592

96-
/**
97-
* A {@link ClientCall} which forwards all of it's methods to another {@link ClientCall}.
98-
*
99-
* @deprecated Use {@link SimpleForwardingClientCall}.
100-
*/
101-
@Deprecated
102-
public static class ForwardingClientCall<ReqT, RespT>
103-
extends SimpleForwardingClientCall<ReqT, RespT> {
104-
public ForwardingClientCall(ClientCall<ReqT, RespT> delegate) {
105-
super(delegate);
106-
}
107-
}
108-
10993
private static final ClientCall<Object, Object> NOOP_CALL = new ClientCall<Object, Object>() {
11094
@Override
11195
public void start(Listener<Object> responseListener, Metadata.Headers headers) {}
@@ -184,18 +168,4 @@ public final void start(Listener<RespT> responseListener, Metadata.Headers heade
184168
}
185169
}
186170
}
187-
188-
/**
189-
* A {@link ClientCall.Listener} which forwards all of its methods to another
190-
* {@link ClientCall.Listener}.
191-
*
192-
* @deprecated Use {@link SimpleForwardingClientCallListener}.
193-
*/
194-
@Deprecated
195-
public static class ForwardingListener<T> extends SimpleForwardingClientCallListener<T> {
196-
197-
public ForwardingListener(ClientCall.Listener<T> delegate) {
198-
super(delegate);
199-
}
200-
}
201171
}

0 commit comments

Comments
 (0)