@InterfaceAudience.LimitedPrivate(value="Integration Tests") @InterfaceStability.Unstable public class Main extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
static String |
SERVLET_PATH |
Modifier and Type | Method and Description |
---|---|
void |
addRedirects(org.eclipse.jetty.server.Server server) |
static AppConfig |
getAppConfigInstance()
Retrieve the config singleton.
|
void |
init(String[] args) |
AppConfig |
loadConfig(String[] args) |
static void |
main(String[] args) |
org.eclipse.jetty.servlet.FilterHolder |
makeAuthFilter() |
com.sun.jersey.api.core.PackagesResourceConfig |
makeJerseyConfig() |
void |
run() |
org.eclipse.jetty.server.Server |
runServer(int port) |
void |
usage() |
public static final String SERVLET_PATH
public static final int DEFAULT_PORT
public static AppConfig getAppConfigInstance()
public void init(String[] args)
public void usage()
public void run()
public org.eclipse.jetty.server.Server runServer(int port) throws Exception
Exception
public org.eclipse.jetty.servlet.FilterHolder makeAuthFilter()
public com.sun.jersey.api.core.PackagesResourceConfig makeJerseyConfig()
public void addRedirects(org.eclipse.jetty.server.Server server)
public static void main(String[] args)
Copyright © 2017 The Apache Software Foundation. All rights reserved.