public class NinjaJetty extends AbstractStandalone<NinjaJetty>
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jetty.servlet.ServletContextHandler |
contextHandler |
static String |
DEFAULT_JETTY_CONFIGURATION |
protected org.eclipse.jetty.server.Server |
jetty |
protected String |
jettyConfiguration |
static String |
KEY_NINJA_JETTY_CONFIGURATION |
protected NinjaServletListener |
ninjaServletListener |
baseUrls, configured, contextPath, externalConfigurationPath, host, idleTimeout, logger, name, ninjaMode, ninjaProperties, overlayedNinjaProperties, port, serverUrls, sslKeystorePassword, sslKeystoreUri, sslPort, sslTruststorePassword, sslTruststoreUri, started
DEFAULT_CONTEXT_PATH, DEFAULT_DEV_NINJA_SSL_KEYSTORE_PASSWORD, DEFAULT_DEV_NINJA_SSL_KEYSTORE_URI, DEFAULT_DEV_NINJA_SSL_TRUSTSTORE_PASSWORD, DEFAULT_DEV_NINJA_SSL_TRUSTSTORE_URI, DEFAULT_HOST, DEFAULT_IDLE_TIMEOUT, DEFAULT_PORT, DEFAULT_SSL_PORT, DEFAULT_STANDALONE_CLASS, KEY_NINJA_CONTEXT_PATH, KEY_NINJA_HOST, KEY_NINJA_IDLE_TIMEOUT, KEY_NINJA_PORT, KEY_NINJA_SSL_KEYSTORE_PASSWORD, KEY_NINJA_SSL_KEYSTORE_URI, KEY_NINJA_SSL_PORT, KEY_NINJA_SSL_TRUSTSTORE_PASSWORD, KEY_NINJA_SSL_TRUSTSTORE_URI, KEY_NINJA_STANDALONE_CLASS
Constructor and Description |
---|
NinjaJetty() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure() |
void |
doJoin() |
void |
doShutdown() |
void |
doStart() |
com.google.inject.Injector |
getInjector() |
String |
getJettyConfigureation() |
NinjaJetty |
jettyConfiguration(String jettyConfiguration) |
static void |
main(String[] args) |
checkConfigured, checkNotConfigured, checkStarted, configure, contextPath, createBaseUrl, createBaseUrls, createServerUrl, createServerUrls, createSSLContext, externalConfigurationPath, getBaseUrls, getContextPath, getExternalConfigurationPath, getHost, getIdleTimeout, getLoggableIdentifier, getName, getNinjaMode, getNinjaProperties, getPort, getServerUrls, getSslKeystorePassword, getSslKeystoreUri, getSslPort, getSslTruststorePassword, getSslTruststoreUri, host, idleTimeout, isPortEnabled, isSslPortEnabled, join, logBaseUrls, name, ninjaMode, port, run, shutdown, sslKeystorePassword, sslKeystoreUri, sslPort, sslTruststorePassword, sslTruststoreUri, start, tryToUnwrapInjectorException
public static final String KEY_NINJA_JETTY_CONFIGURATION
public static final String DEFAULT_JETTY_CONFIGURATION
protected final NinjaServletListener ninjaServletListener
protected org.eclipse.jetty.server.Server jetty
protected org.eclipse.jetty.servlet.ServletContextHandler contextHandler
protected String jettyConfiguration
public static void main(String[] args)
protected void doConfigure() throws Exception
doConfigure
in class AbstractStandalone<NinjaJetty>
Exception
public void doStart() throws Exception
doStart
in class AbstractStandalone<NinjaJetty>
Exception
public void doJoin() throws Exception
doJoin
in class AbstractStandalone<NinjaJetty>
Exception
public void doShutdown()
doShutdown
in class AbstractStandalone<NinjaJetty>
public String getJettyConfigureation()
public NinjaJetty jettyConfiguration(String jettyConfiguration)
public com.google.inject.Injector getInjector()
Copyright © 2016. All Rights Reserved.