public static WebSocketFrame newInstance(io.vertx.core.http.WebSocketFrame arg) { return arg != null ? new WebSocketFrame(arg) : null; } }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
/** * Write a WebSocket frame to the connection * @param frame the frame to write * @return a reference to this, so the API can be used fluently */ public io.vertx.rxjava.core.http.WebSocketBase writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public io.vertx.rxjava.core.http.ServerWebSocket writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
public io.vertx.rxjava.core.http.WebSocket writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public static WebSocketFrame newInstance(io.vertx.core.http.WebSocketFrame arg) { return arg != null ? new WebSocketFrame(arg) : null; } }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
public io.vertx.rxjava.core.http.WebSocket writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
/** * Write a WebSocket frame to the connection * @param frame the frame to write * @return a reference to this, so the API can be used fluently */ public io.vertx.rxjava.core.http.WebSocketBase writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
public io.vertx.rxjava.core.http.ServerWebSocket writeFrame(io.vertx.rxjava.core.http.WebSocketFrame frame) { delegate.writeFrame(frame.getDelegate()); return this; }
public void handle(io.vertx.core.http.WebSocketFrame event) { handler.handle(io.vertx.rxjava.core.http.WebSocketFrame.newInstance(event)); } });
/** * Create a text WebSocket frame. * @param str the string for the frame * @param isFinal true if it's the final frame in the WebSocket message * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame textFrame(String str, boolean isFinal) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.textFrame(str, isFinal)); return ret; }
/** * Create a text WebSocket frame. * @param str the string for the frame * @param isFinal true if it's the final frame in the WebSocket message * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame textFrame(String str, boolean isFinal) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.textFrame(str, isFinal)); return ret; }
/** * Create a continuation frame * @param data the data for the frame * @param isFinal true if it's the final frame in the WebSocket message * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame continuationFrame(io.vertx.rxjava.core.buffer.Buffer data, boolean isFinal) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.continuationFrame(data.getDelegate(), isFinal)); return ret; }
/** * Create a ping WebSocket frame. Will be a final frame. There is no option for non final ping frames. * @param data the bytes for the frame, may be at most 125 bytes * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame pingFrame(io.vertx.rxjava.core.buffer.Buffer data) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.pingFrame(data.getDelegate())); return ret; }
/** * Create a binary WebSocket frame. * @param data the data for the frame * @param isFinal true if it's the final frame in the WebSocket message * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame binaryFrame(io.vertx.rxjava.core.buffer.Buffer data, boolean isFinal) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.binaryFrame(data.getDelegate(), isFinal)); return ret; }
/** * Create a continuation frame * @param data the data for the frame * @param isFinal true if it's the final frame in the WebSocket message * @return the frame */ public static io.vertx.rxjava.core.http.WebSocketFrame continuationFrame(io.vertx.rxjava.core.buffer.Buffer data, boolean isFinal) { io.vertx.rxjava.core.http.WebSocketFrame ret = io.vertx.rxjava.core.http.WebSocketFrame.newInstance(io.vertx.core.http.WebSocketFrame.continuationFrame(data.getDelegate(), isFinal)); return ret; }