-
- All Known Subinterfaces:
AsyncFile,ClientWebSocket,HttpClientRequest,HttpClientResponse,HttpServerFileUpload,HttpServerRequest,HttpServerResponse,JsonParser,MessageConsumer<T>,NetSocket,ReadStream<T>,RecordParser,ServerWebSocket,WebSocket,WebSocketBase,WriteStream<T>
public interface StreamBaseBase interface for a stream.- Author:
- Tim Fox
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamBaseexceptionHandler(Handler<Throwable> handler)Set an exception handler.
-
-
-
Method Detail
-
exceptionHandler
StreamBase exceptionHandler(Handler<Throwable> handler)
Set an exception handler.- Parameters:
handler- the handler- Returns:
- a reference to this, so the API can be used fluently
-
-