public static <U>io.vertx.core.Future<java.lang.Object> map(io.vertx.ext.web.handler.sockjs.BridgeEvent j_receiver, java.util.function.Function<java.lang.Boolean, java.lang.Object> mapper) { return io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.map(mapper != null ? new java.util.function.Function<java.lang.Boolean, java.lang.Object>() { public java.lang.Object apply(java.lang.Boolean t) { java.lang.Boolean o = t; java.lang.Object p = mapper.apply(o); return io.vertx.core.impl.ConversionHelper.toObject(p); } } : null)); } public static io.vertx.ext.web.handler.sockjs.BridgeEvent setRawMessage(io.vertx.ext.web.handler.sockjs.BridgeEvent j_receiver, java.util.Map<String, Object> message) {
/** * Apply a <code>mapper</code> function on this future.<p> * * When this future succeeds, the <code>mapper</code> will be called with the completed value and this mapper * returns a value. This value will complete the future returned by this method call.<p> * * If the <code>mapper</code> throws an exception, the returned future will be failed with this exception.<p> * * When this future fails, the failure will be propagated to the returned future and the <code>mapper</code> * will not be called. * @param mapper the mapper function * @return the mapped future */ public <U> io.vertx.rxjava.core.Future<U> map(Function<Boolean, U> mapper) { io.vertx.rxjava.core.Future<U> ret = io.vertx.rxjava.core.Future.newInstance(delegate.map(mapper), io.vertx.lang.rx.TypeArg.unknown()); return ret; }
/** * Apply a <code>mapper</code> function on this future.<p> * * When this future succeeds, the <code>mapper</code> will be called with the completed value and this mapper * returns a value. This value will complete the future returned by this method call.<p> * * If the <code>mapper</code> throws an exception, the returned future will be failed with this exception.<p> * * When this future fails, the failure will be propagated to the returned future and the <code>mapper</code> * will not be called. * @param mapper the mapper function * @return the mapped future */ public <U> io.vertx.rxjava.core.Future<U> map(Function<Boolean, U> mapper) { io.vertx.rxjava.core.Future<U> ret = io.vertx.rxjava.core.Future.newInstance(delegate.map(mapper), io.vertx.lang.rx.TypeArg.unknown()); return ret; }