@TypeInfo("io.vertx.ceylon.core.http::WebSocketStream") public WebSocketStream resume() { WebSocketStream ret = io.vertx.ceylon.core.http.WebSocketStream.TO_CEYLON .converter() .safeConvert(delegate.resume()); return this; }
@TypeInfo("io.vertx.ceylon.core.http::WebSocketStream") public WebSocketStream endHandler( final @TypeInfo("ceylon.language::Anything()?") @Name("endHandler") Callable<?> endHandler) { io.vertx.core.Handler<java.lang.Void> arg_0 = endHandler == null ? null : new io.vertx.core.Handler<java.lang.Void>() { public void handle(java.lang.Void event) { endHandler.$call$(); } }; WebSocketStream ret = io.vertx.ceylon.core.http.WebSocketStream.TO_CEYLON .converter() .safeConvert(delegate.endHandler(arg_0)); return this; }
@TypeInfo("io.vertx.ceylon.core.http::WebSocketStream") public WebSocketStream exceptionHandler( final @TypeInfo("ceylon.language::Anything(ceylon.language::Throwable)?") @Name("handler") Callable<?> handler) { io.vertx.core.Handler<java.lang.Throwable> arg_0 = handler == null ? null : new io.vertx.core.Handler<java.lang.Throwable>() { public void handle(java.lang.Throwable event) { handler.$call$((Object) event); } }; WebSocketStream ret = io.vertx.ceylon.core.http.WebSocketStream.TO_CEYLON .converter() .safeConvert(delegate.exceptionHandler(arg_0)); return this; }
@TypeInfo("io.vertx.ceylon.core.http::WebSocketStream") public WebSocketStream handler( final @TypeInfo("ceylon.language::Anything(io.vertx.ceylon.core.http::WebSocket)?") @Name( "handler") Callable<?> handler) { io.vertx.core.Handler<io.vertx.core.http.WebSocket> arg_0 = handler == null ? null : new io.vertx.core.Handler<io.vertx.core.http.WebSocket>() { public void handle(io.vertx.core.http.WebSocket event) { handler.$call$( (Object) io.vertx.ceylon.core.http.WebSocket.TO_CEYLON .converter() .safeConvert(event)); } }; WebSocketStream ret = io.vertx.ceylon.core.http.WebSocketStream.TO_CEYLON .converter() .safeConvert(delegate.handler(arg_0)); return this; }