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