@Internal
 @ParametersAreNonnullByDefault
 @ReturnValuesAreNonnullByDefault
public interface TomcatConfigHelper
| Modifier and Type | Method and Description | 
|---|---|
| Optional<String> | getConnectorPort()Returns the connector port. | 
| Optional<org.apache.commons.lang3.tuple.Pair<String,String>> | getDatasourceCredentials()Searches the password from the datasource that could be defined in one of the possible XML files. | 
| Optional<String> | getDatasourceUrl(File xmlFile)Reads the datasource URL attribute from the given XML config file. | 
| String | getJavaRuntimeDirectory()Returns the Java Runtime installation directory. | 
| Optional<Integer> | getMaxHttpThreads()Returns the maximum number of threads that can be used by Tomcat's HTTP connector. | 
| List<File> | getPotentialDatasourceLocations()Returns the potential locations of datasource files. | 
| Optional<Integer> | getProxyPort()Returns the proxy port defined in  server.xml. | 
| boolean | isStandardPort(int port)Indicates whether the given port is a standard HTTP port. | 
Optional<String> getConnectorPort()
Optional<org.apache.commons.lang3.tuple.Pair<String,String>> getDatasourceCredentials()
Optional<String> getDatasourceUrl(File xmlFile)
xmlFile - the tomcat context.xml file containing the JNDI datasource configurationString getJavaRuntimeDirectory()
Optional<Integer> getMaxHttpThreads()
List<File> getPotentialDatasourceLocations()
Optional<Integer> getProxyPort()
server.xml.boolean isStandardPort(int port)
Copyright © 2003–2020 Atlassian. All rights reserved.