I wrote a simply example program that created two Routes and it worked.
I'm now trying to using code in an actual application and the Routing is not working.
The code simply logs the URI passed and returns "Hello $URI" so there is no static content.
When I try to hit the web endpoint:
http://localhost:8080/anything/can-go/hereI receive the text "Resource not found" in the browser indicating that the code that is supposed to return Hello /anything/can-go/here.
I used the debugger and stopped in HttpServerImpl.doMessageReceived() and can see the web request come in, and later enabled trace level debugging so I can see the browser's request hit the HttpServer.
Any pointers to displaying/logging the routes associated with a web server?
Thanks,
Patrick