jodd.joy.server.Server Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joy-boot-jetty9 Show documentation
Show all versions of joy-boot-jetty9 Show documentation
Jodd Joy Bootstrap for Jetty 9.x
The newest version!
package jodd.joy.server;
import jodd.joy.server.jetty.JettyServer;
public class Server extends BaseServer {
public static Server create() {
return new Server();
}
JettyServer jettyServer;
@Override
public void start() {
jettyServer = new JettyServer(this);
try {
jettyServer.start();
} catch (Exception ex) {
throw new ServerException("Error starting Jetty", ex);
}
}
}