Issues Embedding Jetty

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues Embedding Jetty

armins stipanjans
Hello everyone,

In the documentation for using embedded Jetty (https://www.eclipse.org/jetty/documentation/current/maven-and-jetty.html and https://www.eclipse.org/jetty/documentation/current/embedding-jetty.html)
instances of server.Server are started by calling start() on them, however this method is not within the automatically generated documentation (https://www.eclipse.org/jetty/javadoc/9.4.11.v20180605/org/eclipse/jetty/server/Server.html) and other similar methods in this class are protected.

What is the proper way to start an instance of server.Server?
 
 
 

_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues Embedding Jetty

Jesse McConnell
start() is a method on the LifeCycle interface

Typically folks either start() or join() depending on if they need to manage the thread themselves or not.

cheers,
Jesse

--
jesse mcconnell
[hidden email]


On Sun, Aug 26, 2018 at 6:54 AM armins stipanjans <[hidden email]> wrote:
Hello everyone,

In the documentation for using embedded Jetty (https://www.eclipse.org/jetty/documentation/current/maven-and-jetty.html and https://www.eclipse.org/jetty/documentation/current/embedding-jetty.html)
instances of server.Server are started by calling start() on them, however this method is not within the automatically generated documentation (https://www.eclipse.org/jetty/javadoc/9.4.11.v20180605/org/eclipse/jetty/server/Server.html) and other similar methods in this class are protected.

What is the proper way to start an instance of server.Server?
 
 
 
_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users