Class WebServer
java.lang.Object
org.apache.drill.yarn.appMaster.http.WebServer
- All Implemented Interfaces:
AutoCloseable
Wrapper around the Jetty web server.
Adapted from Drill's drill.exec.WebServer class. Would be good to create a common base class later, but the goal for the initial project is to avoid Drill code changes.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WebServer
-
-
Method Details
-
start
Start the web server including setup.- Throws:
Exception
- in case of error during start
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-