vertx / io.vertx.rxjava.core.http

Package io.vertx.rxjava.core.http

Types

HttpConnection

open class HttpConnection

Represents an HTTP connection. HTTP/1.x connection provides an limited implementation, the following methods are implemented:

NOTE: This class has been automatically generated from the io.vertx.core.http.HttpConnection non RX-ified interface using Vert.x codegen.

HttpServerFileUpload

open class HttpServerFileUpload : ReadStream<Buffer>

Represents an file upload from an HTML FORM. NOTE: This class has been automatically generated from the io.vertx.core.http.HttpServerFileUpload non RX-ified interface using Vert.x codegen.

HttpServerResponse

open class HttpServerResponse : WriteStream<Buffer>

Represents a server-side HTTP response.

An instance of this is created and associated to every instance of io.vertx.rxjava.core.http.HttpServerRequest that.

It allows the developer to control the HTTP response that is sent back to the client for a particular HTTP request.

It contains methods that allow HTTP headers and trailers to be set, and for a body to be written out to the response.

It also allows files to be streamed by the kernel directly from disk to the outgoing HTTP connection, bypassing user space altogether (where supported by the underlying operating system). This is a very efficient way of serving files from the server since buffers do not have to be read one by one from the file and written to the outgoing socket.

It implements io.vertx.rxjava.core.streams.WriteStream so it can be used with io.vertx.rxjava.core.streams.Pump to pump data with flow control.

NOTE: This class has been automatically generated from the io.vertx.core.http.HttpServerResponse non RX-ified interface using Vert.x codegen.

ServerWebSocket

open class ServerWebSocket : WebSocketBase

Represents a server side WebSocket.

Instances of this class are passed into a io.vertx.rxjava.core.http.HttpServer#websocketHandler or provided when a WebSocket handshake is manually io.vertx.rxjava.core.http.HttpServerRequest#upgradeed.

NOTE: This class has been automatically generated from the io.vertx.core.http.ServerWebSocket non RX-ified interface using Vert.x codegen.

WebSocket

open class WebSocket : WebSocketBase

Represents a client-side WebSocket. NOTE: This class has been automatically generated from the io.vertx.core.http.WebSocket non RX-ified interface using Vert.x codegen.