This version (2017/05/27 13:44) is a draft.
Approvals: 0/1

[09:26:04] <yunus> Hi, How do I add Content-Type:application/json header to all route responses ?

[09:32:27] <pmlopes> add this handler at the beginning: router.route().handle(ctx → { ctx.response().putHeader(“Content-Type”, “application/json”); ctx.next(); });

[09:45:11] <yunus> pmlopes: cool thank you

[12:56:36] <yunus> which library to use for validating json for vertx-web

[12:57:20] <yunus> which is library to use for validating json body for vertx-web do you prefer ? *

[13:44:46] *** ChanServ sets mode: +o temporal_

[17:08:02] <SalimCastellanos> Hello everyone, I have a question, you can manipulate the DOM of a page in VERTX?

[17:16:13] <SalimCastellanos> ???

[17:22:23] <SalimCastellanos> Hello everyone, I have a question, you can manipulate the DOM of a page in VERTX?

[17:24:17] <SalimCastellanos> Hello everyone, I have a question, you can manipulate the DOM of a page in VERTX?

[17:47:44] <SalimCastellanos> Hello everyone, I have a question, you can manipulate the DOM of a page in VERTX?

[17:52:31] <cescoffier> SalimCastellanos : the dom ? you mean in the browser ?

[17:52:41] <cescoffier> cescoffier vert.x is server-side, not client side.

[17:52:47] <cescoffier> SalimCastellanos vert.x is server-side, not client side.

[17:56:33] <SalimCastellanos> I understand, is I wanted to manipulate some of the 'HTML' before sending the response javascript is possible?

[17:58:25] <cescoffier> SalimCastellanos : you can use a template engine for this. Vert.x Web proposes 4 or 5 different template engines

[20:49:04] <AlexLehm> yunus: I just use new JsonObject(“string”) and catch the exception

[21:06:31] <yunus> AlexLehm: thank you I did someting like that

[21:10:18] <yunus> I didn't understand clustered verticle how it works ? Is that only means just shared eventbus ?

[21:40:25] <temporal_> yunus no you can use clustered data as well that provides things like map