public interface BroadcasterListener<T>
Broadcasterobject. To listen to events, implementation of this interface needs to register with a particular
|Modifier and Type||Method and Description|
Called when the chunkedOutput has been closed (either by client closing the connection or by calling
Called when exception was thrown by a given chunked response when trying to write to it or close it.
void onException(ChunkedOutput<T> chunkedOutput, Exception exception)
chunkedOutput- instance that threw exception
exception- thrown exception
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.