ServerResponse that exposes the future
response.
ServerResponse#async(Object)
| Modifier and Type | Method and Description |
|---|---|
| public ServerResponse | |
| public static AsyncServerResponse | |
| public static AsyncServerResponse |
| block | back to summary |
|---|---|
| public ServerResponse block() Blocks indefinitely until the future response is obtained. | |
| create | back to summary |
|---|---|
| public static AsyncServerResponse create(Object asyncResponse) Create a
| |
| create | back to summary |
|---|---|
| public static AsyncServerResponse create(Object asyncResponse, Duration timeout) Create a (built) response with the given asynchronous response.
Parameter
| |