Dive into Vert.x

CCavalier
13.8K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Be fluent In Vert.x

With vertex you can use a fluent API. It means multiple methods calls can be chained together. It make code a little bit less verbose.

Let's try to create de response to a request in plain text ("text/plain") who return "Hello world". Be careful: the header size must be definer or chunked. Don't forget to end your request !

One line it
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content