public class SingleIndexRestServer extends CLITool.CLIParsedCLITool
CLITool.CLIParsedCLITool, CLITool.HelpAliasCLITool, CLITool.HelpCLITool
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
POPULAR_COMMANDS
Constructor and Description |
---|
SingleIndexRestServer() |
Modifier and Type | Method and Description |
---|---|
String |
commandname()
What commandname should this command respond to
|
String |
helpsummary()
Returns a short sentence about what this command is for
|
static void |
main(String[] args)
Main method.
|
int |
run(org.apache.commons.cli.CommandLine line) |
static org.glassfish.grizzly.http.server.HttpServer |
startServer(String uri)
Starts Grizzly HTTP server exposing JAX-RS resources defined in this application.
|
getOptions, help, run
commandaliases, run, run, setConfiguration
public static final int DEFAULT_PORT
public String commandname()
CLITool
commandname
in class CLITool
public String helpsummary()
CLITool
helpsummary
in class CLITool
public int run(org.apache.commons.cli.CommandLine line) throws Exception
run
in class CLITool.CLIParsedCLITool
Exception
public static org.glassfish.grizzly.http.server.HttpServer startServer(String uri)
public static void main(String[] args) throws Exception
args
- IOException
Exception
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow