public class NinjaJetty extends ninja.standalone.AbstractStandalone<NinjaJetty>
| Modifier and Type | Class and Description |
|---|---|
static class |
NinjaJetty.SilentErrorHandler
That error handler does not print out any stack traces.
|
| 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, contextPath, host, idleTimeout, port, serverUrls, sslKeystorePassword, sslKeystoreUri, sslPort, sslTruststorePassword, sslTruststoreUriconfigured, externalConfigurationPath, logger, name, ninjaMode, ninjaProperties, overlayedNinjaProperties, startedDEFAULT_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) |
contextPath, createBaseUrl, createBaseUrls, createServerUrl, createServerUrls, createSSLContext, doPostConfigure, doPreConfigure, getBaseUrls, getContextPath, getHost, getIdleTimeout, getLoggableIdentifier, getPort, getServerUrls, getSslKeystorePassword, getSslKeystoreUri, getSslPort, getSslTruststorePassword, getSslTruststoreUri, host, idleTimeout, isPortEnabled, isSslPortEnabled, join, logStarted, port, run, sslKeystorePassword, sslKeystoreUri, sslPort, sslTruststorePassword, sslTruststoreUricheckConfigured, checkNotConfigured, checkStarted, configure, externalConfigurationPath, getExternalConfigurationPath, getName, getNinjaMode, getNinjaProperties, name, ninjaMode, shutdown, start, tryToUnwrapInjectorExceptionpublic 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 ninja.standalone.AbstractConsole<NinjaJetty>Exceptionpublic void doStart()
throws Exception
doStart in class ninja.standalone.AbstractConsole<NinjaJetty>Exceptionpublic void doJoin()
throws Exception
doJoin in class ninja.standalone.AbstractStandalone<NinjaJetty>Exceptionpublic void doShutdown()
doShutdown in class ninja.standalone.AbstractConsole<NinjaJetty>public String getJettyConfigureation()
public NinjaJetty jettyConfiguration(String jettyConfiguration)
public com.google.inject.Injector getInjector()
Copyright © 2019. All rights reserved.