public class OtherwiseSupport<T> extends Object
Modifier and Type | Method and Description |
---|---|
void |
otherwise(Consumer<ResponseHandler<T>> consumer)
Support action otherwise.
|
public void otherwise(Consumer<ResponseHandler<T>> consumer)
consumer
- block to be executed if first condition failed code.Copyright © 2020. All rights reserved.