core: fix API breakage in ServerBuilder

This commit is contained in:
Carl Mastrangelo 2017-01-05 17:22:47 -08:00 committed by GitHub
parent 4a4f25ada4
commit 6ed3cbb143
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,9 @@ public abstract class ServerBuilder<T extends ServerBuilder<T>> {
* be executed.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2132")
public abstract T addTransportFilter(ServerTransportFilter filter);
public T addTransportFilter(ServerTransportFilter filter) {
throw new UnsupportedOperationException();
}
/**
* Sets a fallback handler registry that will be looked up in if a method is not found in the