Package com.linecorp.armeria.common.util
Class CompletionActions
java.lang.Object
com.linecorp.armeria.common.util.CompletionActions
Provides the common actions that are useful when handling a
CompletionStage
.-
Method Summary
-
Method Details
-
log
Logs the specifiedThrowable
. For example:CompletableFuture<?> f = ...; f.exceptionally(CompletionActions::log);
- Returns:
null
-