public static HttpConnection newInstance(io.vertx.core.http.HttpConnection arg) { return arg != null ? new HttpConnection(arg) : null; } }
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
/** * Send a frame to the remote endpoint. * <p/> * This is not implemented for HTTP/1.x. * @param data the 8 bytes data of the frame * @return a reference to this, so the API can be used fluently * @deprecated use {@link #rxPing} instead */ @Deprecated() public Observable<io.vertx.rxjava.core.buffer.Buffer> pingObservable(io.vertx.rxjava.core.buffer.Buffer data) { io.vertx.rx.java.ObservableFuture<io.vertx.rxjava.core.buffer.Buffer> pongHandler = io.vertx.rx.java.RxHelper.observableFuture(); ping(data, pongHandler.toHandler()); return pongHandler; }
/** * Send to the remote endpoint an update of this endpoint settings * <p/> * The <code>completionHandler</code> will be notified when the remote endpoint has acknowledged the settings. * <p/> * This is not implemented for HTTP/1.x. * @param settings the new settings * @return a reference to this, so the API can be used fluently * @deprecated use {@link #rxUpdateSettings} instead */ @Deprecated() public Observable<Void> updateSettingsObservable(Http2Settings settings) { io.vertx.rx.java.ObservableFuture<Void> completionHandler = io.vertx.rx.java.RxHelper.observableFuture(); updateSettings(settings, completionHandler.toHandler()); return completionHandler; }
/** * Send a frame to the remote endpoint. * <p/> * This is not implemented for HTTP/1.x. * @param data the 8 bytes data of the frame * @return a reference to this, so the API can be used fluently */ public Single<io.vertx.rxjava.core.buffer.Buffer> rxPing(io.vertx.rxjava.core.buffer.Buffer data) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { ping(data, fut); })); }
/** * Send to the remote endpoint an update of this endpoint settings * <p/> * The <code>completionHandler</code> will be notified when the remote endpoint has acknowledged the settings. * <p/> * This is not implemented for HTTP/1.x. * @param settings the new settings * @return a reference to this, so the API can be used fluently */ public Single<Void> rxUpdateSettings(Http2Settings settings) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { updateSettings(settings, fut); })); }
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
/** * Send a frame to the remote endpoint. * <p/> * This is not implemented for HTTP/1.x. * @param data the 8 bytes data of the frame * @return a reference to this, so the API can be used fluently */ public Single<io.vertx.rxjava.core.buffer.Buffer> rxPing(io.vertx.rxjava.core.buffer.Buffer data) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { ping(data, fut); })); }
/** * Send to the remote endpoint an update of this endpoint settings * <p/> * The <code>completionHandler</code> will be notified when the remote endpoint has acknowledged the settings. * <p/> * This is not implemented for HTTP/1.x. * @param settings the new settings * @return a reference to this, so the API can be used fluently */ public Single<Void> rxUpdateSettings(Http2Settings settings) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { updateSettings(settings, fut); })); }
public static HttpConnection newInstance(io.vertx.core.http.HttpConnection arg) { return arg != null ? new HttpConnection(arg) : null; } }
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
public void handle(io.vertx.core.http.HttpConnection event) { handler.handle(io.vertx.rxjava.core.http.HttpConnection.newInstance(event)); } });
/** * @return the {@link io.vertx.rxjava.core.http.HttpConnection} associated with this request */ public io.vertx.rxjava.core.http.HttpConnection connection() { if (cached_7 != null) { return cached_7; } io.vertx.rxjava.core.http.HttpConnection ret = io.vertx.rxjava.core.http.HttpConnection.newInstance(delegate.connection()); cached_7 = ret; return ret; }
/** * @return the {@link io.vertx.rxjava.core.http.HttpConnection} associated with this request */ public io.vertx.rxjava.core.http.HttpConnection connection() { if (cached_1 != null) { return cached_1; } io.vertx.rxjava.core.http.HttpConnection ret = io.vertx.rxjava.core.http.HttpConnection.newInstance(delegate.connection()); cached_1 = ret; return ret; }
/** * @return the {@link io.vertx.rxjava.core.http.HttpConnection} associated with this request */ public io.vertx.rxjava.core.http.HttpConnection connection() { if (cached_7 != null) { return cached_7; } io.vertx.rxjava.core.http.HttpConnection ret = io.vertx.rxjava.core.http.HttpConnection.newInstance(delegate.connection()); cached_7 = ret; return ret; }
/** * @return the {@link io.vertx.rxjava.core.http.HttpConnection} associated with this request */ public io.vertx.rxjava.core.http.HttpConnection connection() { if (cached_1 != null) { return cached_1; } io.vertx.rxjava.core.http.HttpConnection ret = io.vertx.rxjava.core.http.HttpConnection.newInstance(delegate.connection()); cached_1 = ret; return ret; }