Package org.jbake.launcher
Class JettyServer
- java.lang.Object
-
- org.jbake.launcher.JettyServer
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class JettyServer extends java.lang.Object implements java.io.CloseableProvides Jetty server related functions
-
-
Constructor Summary
Constructors Constructor Description JettyServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()booleanisStarted()voidrun(java.lang.String resourceBase, java.lang.String port)Deprecated.voidrun(java.lang.String resourceBase, JBakeConfiguration configuration)
-
-
-
Method Detail
-
run
@Deprecated public void run(java.lang.String resourceBase, java.lang.String port)Deprecated.
-
run
public void run(java.lang.String resourceBase, JBakeConfiguration configuration)
-
isStarted
public boolean isStarted()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-