public class ShahedServer
extends AbstractHandler
Constructor and Description |
---|
ShahedServer(Path dataPath,
Path indexPath,
OperationsParams params)
A constructor that starts the Jetty server
|
Modifier and Type | Method and Description |
---|---|
void |
handle(java.lang.String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch) |
static void |
main(java.lang.String[] args) |
static void |
printUsage()
Prints the usage of starting the server.
|
public ShahedServer(Path dataPath, Path indexPath, OperationsParams params)
dataPath
- indexPath
- params
- public void handle(java.lang.String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public static void printUsage()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- java.lang.Exception