Re: Start/Stop of Jetty HTTP Server Programatically

2019-06-07 Thread Nicholas Babcock
I'm not entirely sure what the ask is here, but the ServerCommand is where the server is built and started: https://github.com/dropwizard/dropwizard/blob/7bb03f14b1c5d0f6f2f763ca3eb6c11cb42e9d15/dropwizard-core/src/main/java/io/dropwizard/cli/ServerCommand.java#L49 -Nick. On Thursday, June 6, 2

Re: Start/Stop of Jetty HTTP Server Programatically

2019-06-06 Thread 'Peter Stackle' via dropwizard-dev
Hey Robin, This page goes into more detail about how the application starts up: https://www.dropwizard.io/1.3.12/docs/manual/internals.html Depending on where in the lifecycle you want to cut in at, you could directly call the Application.run(args) method or if you want to bypass most everything

Start/Stop of Jetty HTTP Server Programatically

2019-06-06 Thread Kuttaiah Robin
Hi, Can someone help me to point the code where Dropwizzard start/stop the HTTP server ? Basically when we execute below in tutorial which code starts the HTTP server? java -jar target/hello-world-0.0.1-SNAPSHOT.jar server hello-world.yml I have a framework where I need to feed Dropwizzard