| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpStream | |
| public void | failed(Throwable
the reason for the operation failure x)Overrides org. Overrides default org. Callback invoked when the operation fails. |
| private void | |
| public void | succeeded()
Overrides org. Overrides default org. Callback invoked when the operation completes. |
| _listeners | back to summary |
|---|---|
| private final List<Consumer<Throwable>> _listeners | |
| CompletionStreamWrapper | back to summary |
|---|---|
| public CompletionStreamWrapper(HttpStream stream, Consumer<Throwable> listener) | |
| addListener | back to summary |
|---|---|
| public HttpStream addListener(Consumer<Throwable> listener) | |
| failed | back to summary |
|---|---|
| public void failed(Throwable x) Overrides org. Overrides default org. Doc from org. Callback invoked when the operation fails. | |
| onCompletion | back to summary |
|---|---|
| private void onCompletion(Throwable x) | |
| succeeded | back to summary |
|---|---|
| public void succeeded() Overrides org. Overrides default org. Doc from org. Callback invoked when the operation completes.
| |