Skip to content

Commit

Permalink
default throw ServerCallStreamObserver.setOnCloseHandler (#8564)
Browse files Browse the repository at this point in the history
  • Loading branch information
YifeiZhuang committed Sep 28, 2021
1 parent 0287d83 commit fbded2a
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -168,5 +168,7 @@ public void disableAutoRequest() {
* @param onCloseHandler to execute when the call has been closed cleanly.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/8467")
public abstract void setOnCloseHandler(Runnable onCloseHandler);
public void setOnCloseHandler(Runnable onCloseHandler) {
throw new UnsupportedOperationException();
}
}

0 comments on commit fbded2a

Please sign in to comment.