public class CompletableFutureMapper extends Object implements Route.Mapper<CompletableFuture>
Constructor and Description |
---|
CompletableFutureMapper() |
Modifier and Type | Method and Description |
---|---|
Object |
map(CompletableFuture future)
Map the type to something else.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chain, create, name
public Object map(CompletableFuture future) throws Throwable
Route.Mapper
map
in interface Route.Mapper<CompletableFuture>
future
- Value to map.Throwable
- If mapping fails.Copyright © 2017. All rights reserved.