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
@Path("/hello") // this defines the path /hello | |
public Hello { | |
public String hello(){ | |
return "Hello World"; | |
} | |
} |
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
[INFO] H2 database started in TCP server mode | |
[38;5;145m2019-01-02 11:37:37,659[39m[38;5;188m [39m[38;5;83matlantis[39m[38;5;188m [39m[38;5;186mRemoteTestRunner[39m[38;5;188m[[39m[38;5;180m18627[39m[38;5;188m] [39m[38;5;107mINFO [39m[38;5;188m [[39m[38;5;69mo.j.s.d.ShamrockAugmentor[39m[38;5;188m] ([39m[38;5;71mmain[39m[38;5;188m) [39m[38;5;151m[38;5;231mBeginning shamrock augmentation[39m[39m[38;5;203m[39m[38;5;227m | |
[39m[38;5;145m2019-01-02 11:37:37,776[39m[38;5;188m [39m[38;5;83matlantis[39m[38;5;188m [39m[38;5;186mRemoteTestRunner[39m[38;5;188m[[39m[38;5;180m18627[39m[38;5;188m] [39m[38;5;107mINFO [39m[38;5;188m [[39m[38;5;69mo.j.threads[39m[38;5;188m] ([39m[38;5;71mmain[39m[38;5;188m) [39m[38;5;151m[38;5;231mJBoss Threads version [38;5;188m3.0.0.Alpha4[38;5;231m[39m[39m[38;5;203m[39m[38;5;227m | |
[39m[38;5;145m2019-01-02 11:37:38,280[39m[38;5;188m [39m[38;5;83matlantis[39m[38;5;188m [39m[38;5;186mRemoteTestRunner[39m[38;5;18 |
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
globals.getRouter().route().handler(context -> { | |
// only filter if we have a header, otherwise it will try to force auth, regardless if whether | |
// we want auth | |
if(context.request().getHeader(HttpHeaders.AUTHORIZATION) != null) { | |
System.err.println("Pause"); | |
context.request().pause(); | |
authHandler.handle(context); | |
}else | |
context.next(); | |
}); |
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
SEVERE: Unexpected exception in route | |
java.lang.IllegalStateException: Request has already been read | |
at io.vertx.core.http.impl.HttpServerRequestImpl.checkEnded(HttpServerRequestImpl.java:437) | |
at io.vertx.core.http.impl.HttpServerRequestImpl.handler(HttpServerRequestImpl.java:203) | |
at io.vertx.core.http.HttpServerRequest.bodyHandler(HttpServerRequest.java:208) | |
at io.vertx.ext.web.impl.HttpServerRequestWrapper.bodyHandler(HttpServerRequestWrapper.java:188) | |
at io.vertx.reactivex.core.http.HttpServerRequest.bodyHandler(HttpServerRequest.java:302) | |
at net.redpipe.engine.dispatcher.VertxPluginRequestHandler.handle(VertxPluginRequestHandler.java:57) | |
at net.redpipe.engine.core.Server.lambda$13(Server.java:236) |
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
public class TodobackendMongo { | |
private final static Logger LOG = LoggerFactory.getLogger(TodobackendMongo.class); | |
private final static JsonObject TEST_CONF = new JsonObject() | |
.put("http_port", 9090); | |
public static void main(String... args) { | |
final DeploymentOptions opts = new DeploymentOptions().setWorker(true); |
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
update test |
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
# A new page | |
Feel-free to write in Markdown! asdasd |
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
# Example page | |
Some text _here_. | |
here ici euh YES YES | |
bla SALUT |
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
# Example page | |
Some text _here_. | |
here ici euh YES YES | |
bla SALUT |
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
# Example page | |
Some text _here_. | |
here ici euh YES YES | |
bla SALUT |