mirror of https://github.com/grpc/grpc-java.git
core: fix API breakage in ServerBuilder
This commit is contained in:
parent
4a4f25ada4
commit
6ed3cbb143
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue