Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
Undefined
Description
We use Undertow as the client lib for outgoing http connection in our light4j/undertow based microservices.
When calling IoFuture<ClientConnection>.await with a timeout, we want to know how to deal with the IoFuture for each IoFuture statuses.
For examples, is there any document described the information below:
- When the status is WAITING, do we need to cancel the future and does it mean a timeout just happened?
- Is the IoFuture.getException() only available when the status is ERROR and not for others?
- When the status is set to CANCELLED? Does it mean the IoFuture.get() return null? Is there any resource we need to release?