Package | Description |
---|---|
io.vertx.rxjava.core.http | |
io.vertx.rxjava.core.net |
Modifier and Type | Method and Description |
---|---|
NetSocket |
HttpClientResponse.netSocket()
Get a net socket for the underlying connection of this request.
|
NetSocket |
HttpServerRequest.netSocket()
Get a net socket for the underlying connection of this request.
|
Modifier and Type | Method and Description |
---|---|
NetSocket |
NetSocket.closeHandler(Handler<Void> handler)
Set a handler that will be called when the NetSocket is closed
|
NetSocket |
NetSocket.drainHandler(Handler<Void> handler) |
NetSocket |
NetSocket.endHandler(Handler<Void> endHandler) |
NetSocket |
NetSocket.exceptionHandler(Handler<Throwable> handler) |
NetSocket |
NetSocket.handler(Handler<Buffer> handler) |
static NetSocket |
NetSocket.newInstance(NetSocket arg) |
NetSocket |
NetSocket.pause() |
NetSocket |
NetSocket.resume() |
NetSocket |
NetSocket.sendFile(String filename)
Tell the operating system to stream a file as specified by
filename directly from disk to the outgoing connection,
bypassing userspace altogether (where supported by the underlying operating system. |
NetSocket |
NetSocket.sendFile(String filename,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(java.lang.String) but also takes a handler that will be called when the send has completed or
a failure has occurred |
NetSocket |
NetSocket.sendFile(String filename,
long offset)
Tell the operating system to stream a file as specified by
filename directly from disk to the outgoing connection,
bypassing userspace altogether (where supported by the underlying operating system. |
NetSocket |
NetSocket.sendFile(String filename,
long offset,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(java.lang.String) but also takes a handler that will be called when the send has completed or
a failure has occurred |
NetSocket |
NetSocket.sendFile(String filename,
long offset,
long length)
Tell the operating system to stream a file as specified by
filename directly from disk to the outgoing connection,
bypassing userspace altogether (where supported by the underlying operating system. |
NetSocket |
NetSocket.sendFile(String filename,
long offset,
long length,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(java.lang.String) but also takes a handler that will be called when the send has completed or
a failure has occurred |
NetSocket |
NetSocket.setWriteQueueMaxSize(int maxSize) |
NetSocket |
NetSocket.upgradeToSsl(Handler<Void> handler)
Upgrade channel to use SSL/TLS.
|
NetSocket |
NetSocket.write(Buffer data) |
NetSocket |
NetSocket.write(String str)
Write a
String to the connection, encoded in UTF-8. |
NetSocket |
NetSocket.write(String str,
String enc)
Write a
String to the connection, encoded using the encoding enc . |
Modifier and Type | Method and Description |
---|---|
Observable<NetSocket> |
NetClient.connectObservable(int port,
String host)
Open a connection to a server at the specific
port and host . |
Observable<NetSocket> |
NetSocketStream.toObservable() |
Modifier and Type | Method and Description |
---|---|
NetClient |
NetClient.connect(int port,
String host,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host . |
NetServer |
NetServer.connectHandler(Handler<NetSocket> handler)
Supply a connect handler for this server.
|
NetSocketStream |
NetSocketStream.handler(Handler<NetSocket> handler) |
Copyright © 2016. All rights reserved.