Modifier and Type | Method and Description |
---|---|
CapturingInputStream.Config.Builder |
CapturingInputStream.Config.Builder.onDone(Consumer<? super CapturingInputStream> callback)
Sets a callback that will be triggered when reading from built capturing input streams is done.
|
CapturingInputStream.Config.Builder |
CapturingInputStream.Config.Builder.onError(BiConsumer<? super CapturingInputStream,? super IOException> callback)
Sets a callback that will be triggered when an
IOException occurs while using built capturing input streams. |
CapturingInputStream.Config.Builder |
CapturingInputStream.Config.Builder.onLimitReached(Consumer<? super CapturingInputStream> callback)
Sets a callback that will be triggered when built capturing input streams hit their limit.
|
Copyright © 2020–2024. All rights reserved.