Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • delight delight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • delight
  • delightdelight
  • Wiki
  • ExampleServer

ExampleServer · Changes

Page history
Update ExampleServer authored May 24, 2019 by Andreas Lauer's avatar Andreas Lauer
Hide whitespace changes
Inline Side-by-side
ExampleServer.md
View page @ a1958796
......@@ -15,7 +15,7 @@ cd ../example-delight-server
mvn exec:java -Dexec.mainClass=de.dfki.delight.example.ExampleEmbeddedServer
```
This fires up the server on port 8080.
Browse to <http://localhost:8080/example-delight-webapp/delight> to read the online documentation.
Browse to <http://localhost:8080/example-delight-webapp/> to read the online documentation.
Here's the code
......@@ -39,7 +39,7 @@ public class ExampleEmbeddedServer
DelightServer server = new DelightServer(cfg)
.port( 8080 )
.contextPath( "/example-delight-webapp/delight" )
.contextPath( "/example-delight-webapp/" )
.asyncTimeout(5, TimeUnit.MINUTES)
.init( backend -> {
backend.addHandlerByClass("myHandler", ExampleHandler.class);
......
Clone repository
  • DocuFeature
  • ExampleServer
  • ExampleWebApp
  • Home
  • ServerSentEventsFeature
  • StatsFeature
  • people
  • xmlrpc
    • Documentation
    • ExampleUsingConverterRegistry
    • ExampleUsingOwnConceteTypes
    • ExampleUsingOwnInterfaceTypes
    • ExampleUsingThirdPartyTypes
    • ExampleUsingXmlRpcBeans
    • ExampleUsingXmlRpcCompliantTypes

Legal Notice, Imprint, Privacy Policy