Package | Description |
---|---|
io.vertx.core.http |
== Writing HTTP servers and clients
Vert.x allows you to easily write non blocking HTTP clients and servers.
|
Modifier and Type | Method and Description |
---|---|
WebSocketStream |
WebSocketStream.endHandler(Handler<Void> endHandler) |
WebSocketStream |
WebSocketStream.exceptionHandler(Handler<Throwable> handler) |
WebSocketStream |
WebSocketStream.handler(Handler<WebSocket> handler) |
WebSocketStream |
WebSocketStream.pause() |
WebSocketStream |
WebSocketStream.resume() |
WebSocketStream |
HttpClient.websocketStream(int port,
String host,
String requestURI)
Create a WebSocket stream to the specified port, host and relative request URI
|
WebSocketStream |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers)
Create a WebSocket stream to the specified port, host and relative request URI, and with the specified headers
|
WebSocketStream |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version)
Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers and using
the specified version of WebSockets
|
WebSocketStream |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols)
Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers, using
the specified version of WebSockets, and the specified websocket sub protocols
|
WebSocketStream |
HttpClient.websocketStream(String requestURI)
Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
|
WebSocketStream |
HttpClient.websocketStream(String requestURI,
MultiMap headers)
Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
|
WebSocketStream |
HttpClient.websocketStream(String requestURI,
MultiMap headers,
WebsocketVersion version)
Create a WebSocket stream at the relative request URI using the default host and port, the specified headers and the
specified version of WebSockets
|
WebSocketStream |
HttpClient.websocketStream(String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols)
Create a WebSocket stream at the relative request URI using the default host and port, the specified headers, the
specified version of WebSockets and the specified sub protocols
|
WebSocketStream |
HttpClient.websocketStream(String host,
String requestURI)
Create a WebSocket stream to the specified host, relative request URI and default port
|
WebSocketStream |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers)
Create a WebSocket stream to the specified host, relative request URI and default port and with the specified headers
|
WebSocketStream |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version)
Create a WebSocket stream to the specified host, relative request URI and default port and with the specified headers and using
the specified version of WebSockets
|
WebSocketStream |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols)
Create a WebSocket stream to the specified host, relative request URI and default port, with the specified headers, using
the specified version of WebSockets, and the specified websocket sub protocols
|
Copyright © 2016. All rights reserved.