| Modifier and Type | Field and Description |
|---|---|
| private Handler | |
| private HttpClientBase | |
| private Handler | |
| private final AtomicReference | |
| private Handler | |
| private Handler | |
| private Handler | |
| private Handler | |
| private Handler | |
| private Handler | |
| private Handler | |
| private volatile WebSocket |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | binaryHandlerID()
Implements io. When a |
| public ClientWebSocket | |
| public Future | close()
Implements io. Close the WebSocket sending the default close frame. |
| public void | close(Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public Future | close(short
the status code statusCode)Implements io. Close the WebSocket sending a close frame with specified status code. |
| public void | close(short statusCode, Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public Future | |
| public void | |
| public ClientWebSocket | |
| public String | closeReason()
Implements io. Returns the close reason message from the remote endpoint or |
| public Short | closeStatusCode()
Implements io. Returns the close status code received from the remote endpoint or |
| public Future | connect(WebSocketConnectOptions options)
Implements io. Like |
| public Future | connect(Context context, WebSocketConnectOptions options)
Implements io.
|
| private Future | |
| public void | connect(WebSocketConnectOptions
the request options options, Handler<AsyncResult<WebSocket>> handler that will be called with the WebSocket when connected handler)Implements io. Connect a WebSocket with the specified options. |
| private WebSocket | |
| public ClientWebSocket | |
| public Future | |
| public void | end(Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public ClientWebSocket | |
| public ClientWebSocket | exceptionHandler(Handler<Throwable> handler)
Implements io.
|
| public WebSocket | fetch(long amount)
Implements io. Fetch the specified |
| public ClientWebSocket | frameHandler(Handler<WebSocketFrame> handler)
Implements io.
|
| public ClientWebSocket | |
| public MultiMap | headers()
Implements io. Returns the HTTP headers when the WebSocket is first obtained in the handler. |
| public boolean | |
| public boolean | |
| public SocketAddress | |
| public WebSocket | pause()
Implements io. Pause the |
| public X509Certificate[] | peerCertificateChain()
Implements io.
References Deprecated
X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public List | |
| public ClientWebSocket | |
| public SocketAddress | |
| public WebSocket | resume()
Implements io. Resume reading, and sets the buffer in |
| public WebSocket | setWriteQueueMaxSize(int
the max size of the write stream maxSize)Implements io. Set the maximum size of the write queue to |
| public SSLSession | |
| public String | subProtocol()
Implements io. Returns the WebSocket sub protocol selected by the WebSocket handshake. |
| public String | textHandlerID()
Implements io. When a |
| public ClientWebSocket | |
| public Future | write(Buffer
the data to write data)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Write some data to the stream. |
| public void | write(Buffer data, Handler<AsyncResult<Void>> handler)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Same as |
| public Future | writeBinaryMessage(Buffer
the data to write data)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Writes a (potentially large) piece of binary data to the connection. |
| public ClientWebSocket | writeBinaryMessage(Buffer data, Handler<AsyncResult<Void>> handler)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Same as |
| public Future | writeFinalBinaryFrame(Buffer
The data to write data)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Write a final WebSocket binary frame to the connection |
| public ClientWebSocket | writeFinalBinaryFrame(Buffer data, Handler<AsyncResult<Void>> handler)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Same as |
| public Future | writeFinalTextFrame(String
The text to write text)Implements io. Write a final WebSocket text frame to the connection |
| public ClientWebSocket | writeFinalTextFrame(String text, Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public Future | writeFrame(WebSocketFrame
the frame to write frame)Implements io. Write a WebSocket frame to the connection |
| public ClientWebSocket | writeFrame(WebSocketFrame frame, Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public Future | writePing(Buffer data)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Like |
| public ClientWebSocket | writePing(Buffer
the data to write, may be at most 125 bytes data, Handler<AsyncResult<Void>> called when the ping frame has been successfully written handler)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Writes a ping frame to the connection. |
| public Future | writePong(Buffer data)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Like |
| public ClientWebSocket | writePong(Buffer
the data to write, may be at most 125 bytes data, Handler<AsyncResult<Void>> called when the pong frame has been successfully written handler)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Writes a pong frame to the connection. |
| public boolean | writeQueueFull()
Implements io. This will return |
| public Future | writeTextMessage(String
the data to write text)Implements io. Writes a (potentially large) piece of text data to the connection. |
| public ClientWebSocket | writeTextMessage(String text, Handler<AsyncResult<Void>> handler)
Implements io. Same as |