Skip navigation links
A C D E L M S T U 

A

addContextEnvironment(ContextEnvironment) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Adds a ContextEnvironment object to embedded Tomcat.
addContextEnvironment(String, String, String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Convenient method for adding a context environment to the embedded Tomcat.
addContextEnvironmentString(String, String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Convenient method for adding a context environment with type java.lang.String to the embedded Tomcat.
addContextInitializationParameter(String, String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
 
addContextResource(ContextResource) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Adds a ContextResource object to the list of resources in the embedded Tomcat.
addDefaultListeners() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Installs the default listeners AprLifecycleListener, JasperListener, JreMemoryLeakPreventionListener, GlobalResourcesLifecycleListener and ThreadLocalLeakPreventionListener during startup.

C

ch.rasc.embeddedtc - package ch.rasc.embeddedtc
 
create() - Static method in class ch.rasc.embeddedtc.EmbeddedTomcat
Convenient method to create a embedded Tomcat that listens on port 8080 and with a context path of ""

D

dontAddShutdownHook() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
The EmbeddedTomcat listens per default for shutdown commands on port 8005 with the shutdown command SHUTDOWN.

E

EmbeddedTomcat - Class in ch.rasc.embeddedtc
Helper class to simplify setting up a Embedded Tomcat in a IDE and with a Maven web project.
EmbeddedTomcat() - Constructor for class ch.rasc.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with context path "" and port 8080.
EmbeddedTomcat(int) - Constructor for class ch.rasc.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with context path "" and specified port.
EmbeddedTomcat(String) - Constructor for class ch.rasc.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with the specified context path and port 8080 Context directory points to current directory + /src/main/webapp Change context directory with the method setContextDirectory(String)
EmbeddedTomcat(String, int) - Constructor for class ch.rasc.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with specified context path and specified port.
EmbeddedTomcat(String, int, int) - Constructor for class ch.rasc.embeddedtc.EmbeddedTomcat
Creates an embedded Tomcat with specified context path and specified ports.
enableCompression(int, String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
 
enableNaming() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Enables JNDI naming which is disabled by default.

L

ListContextsServlet - Class in ch.rasc.embeddedtc
 
ListContextsServlet(Context) - Constructor for class ch.rasc.embeddedtc.ListContextsServlet
 

M

main(String[]) - Static method in class ch.rasc.embeddedtc.EmbeddedTomcat
Starts a embedded Tomcat on port 8080 with context path "" and context directory current directory + /src/main/webapp
maxPostSize - Variable in class ch.rasc.embeddedtc.EmbeddedTomcat
 

S

service(HttpServletRequest, HttpServletResponse) - Method in class ch.rasc.embeddedtc.ListContextsServlet
 
setContextDirectory(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the context directory.
setContextFile(URL) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the location of the context file that configures this web application
setContextFile(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the location of the context file that configures this web application
setContextPath(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the contextPath for the webapplication
setHttpPort(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the port the server is listening for http requests
setHttpsPort(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the port the server is listening for https requests
setKeyAlias(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
The alias used to for the server certificate in the keystore.
setKeyStoreFile(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
The pathname of the keystore file where you have stored the server certificate to be loaded.
setKeyStorePass(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
The password used to access the server certificate from the specified keystore file.
setMaxPostSize(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing.
setPort(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Deprecated.
setPrivileged(boolean) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Set the privileged flag for this web application.
setSecondsToWaitBeforePortBecomesAvailable(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Before starting the embedded Tomcat the programm tries to stop a previous process by sendig the shutdown command to the shutdown port.
setShutdownPort(int) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Specifies the port the server is listen for the shutdown command.
setSilent(boolean) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Set the silent flag of Tomcat.
setTempDirectory(File) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the location of the temporary directory.
setTempDirectoryName(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Sets the temporary directory to a directory beneath the target directory
The directory does not have to exists, Tomcat will create it automatically if necessary.
skipJarsContextConfig(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Additional JARs (over and above the default JARs set with EmbeddedTomcat.skipJarsDefaultJarScanner(String)) to skip when scanning for Servlet 3.0 pluggability features.
skipJarsDefaultJarScanner(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
List of JAR files that should not be scanned using the JarScanner functionality.
skipJarsTldConfig(String) - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Additional JARs (over and above the default JARs set with EmbeddedTomcat.skipJarsDefaultJarScanner(String)) to skip when scanning for TLDs.
start() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Starts the embedded Tomcat and do not wait for incoming requests.
startAndWait() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Starts the embedded Tomcat and waits for incoming requests.
startServer() - Static method in class ch.rasc.embeddedtc.TomcatTest
Starts an embedded tomcat on port 9998.
stop() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Stops the embedded tomcat.
stopServer() - Static method in class ch.rasc.embeddedtc.TomcatTest
Stops the Tomcat after running all the tests in the test class

T

TomcatTest - Class in ch.rasc.embeddedtc
Convenient JUnit test class that starts a Tomcat on port 9998 before the test and stops it afterwards.
TomcatTest() - Constructor for class ch.rasc.embeddedtc.TomcatTest
 

U

useNio2() - Method in class ch.rasc.embeddedtc.EmbeddedTomcat
Instructs the embedded tomcat to use the NIO2 Connector (org.apache.coyote.http11.Http11Nio2Protocol) instead of the NIO Connector (org.apache.coyote.http11.Http11NioProtocol)
A C D E L M S T U 
Skip navigation links

Copyright © 2012–2017. All rights reserved.