... | ... | @@ -40,7 +40,7 @@ public class ExampleEmbeddedServer |
|
|
|
|
|
DelightServer server = new DelightServer(cfg)
|
|
|
.port( 8080 )
|
|
|
.path( "/example-delight-webapp/delight" )
|
|
|
.contextPath( "/example-delight-webapp/delight" )
|
|
|
.asyncTimeout(5, TimeUnit.MINUTES)
|
|
|
.init( backend -> {
|
|
|
backend.addHandlerByClass("myHandler", ExampleHandler.class);
|
... | ... | |