This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.http.HttpClient; | |
import io.vertx.core.http.HttpClientOptions; | |
import io.vertx.core.http.HttpClientRequest; | |
import io.vertx.core.http.HttpServer; | |
import io.vertx.core.http.HttpServerOptions; | |
import io.vertx.core.http.HttpServerResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/child/build.gradle b/child/build.gradle | |
index 83788da..a4b77c7 100644 | |
--- a/child/build.gradle | |
+++ b/child/build.gradle | |
@@ -6,7 +6,7 @@ | |
//plugins { | |
// id "de.undercouch.download" version "3.2.0" | |
//} | |
-//import de.undercouch.gradle.tasks.download.Download | |
+import de.undercouch.gradle.tasks.download.Download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<fo:root font-size="11pt" language="en" line-height="normal" line-height-shift-adjustment="disregard-shifts" text-align="justify" writing-mode="lr-tb" xmlns:fo="http://www.w3.org/1999/XSL/Format"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="content" page-height="297mm" page-width="210mm"> | |
<fo:region-body> | |
</fo:region-body> | |
<fo:region-before extent="1in"> | |
</fo:region-before> | |
</fo:simple-page-master> | |
</fo:layout-master-set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grab(group='de.undercouch', module='actson', version='1.1.0') | |
class Dummy {} | |
import de.undercouch.actson.JsonEvent | |
import de.undercouch.actson.JsonFeeder | |
import de.undercouch.actson.JsonParser | |
import java.nio.ByteBuffer | |
import java.nio.CharBuffer | |
import java.nio.charset.CharacterCodingException | |
import java.nio.charset.CharsetDecoder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="./vertx-js/vertx.d.ts" /> | |
// arrow functions ********************************************* [1] | |
vertx.createHttpServer().requestHandler(request => { | |
// block-scoped variables (let keyword) ********************** [2] | |
let response = request.response(); | |
response.setChunked(true); | |
// default parameter ***************************************** [3] | |
function send(msg = "NOOP") { |