Top Description Methods
io.vertx.core.streams

public Interface StreamBase

Known Direct Subinterfaces
io.vertx.core.streams.WriteStream, io.vertx.core.streams.ReadStream
Annotations
@VertxGen
concrete:false
Imports
io.vertx.codegen.annotations.Fluent, .Nullable, .VertxGen, io.vertx.core.Handler

Base interface for a stream.
Author
Tim Fox

Method Summary

Modifier and TypeMethod and Description
public StreamBase

Returns:

a reference to this, so the API can be used fluently
exceptionHandler
(@Nullable Handler<Throwable>
the handler
handler
)

Set an exception handler.

Method Detail

exceptionHandlerback to summary
public StreamBase exceptionHandler(@Nullable Handler<Throwable> handler)

Set an exception handler.

Parameters
handler:@Nullable Handler<Throwable>

the handler

Returns:StreamBase

a reference to this, so the API can be used fluently

Annotations
@Fluent