Class PrivateTomcatSite
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,PrivateTomcatSite>
com.aoindustries.aoserv.client.CachedObject<Integer,PrivateTomcatSite>
com.aoindustries.aoserv.client.CachedObjectIntegerKey<PrivateTomcatSite>
com.aoindustries.aoserv.client.web.tomcat.PrivateTomcatSite
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable,SingleTableObject<Integer,PrivateTomcatSite>
An
HttpdStdTomcatSite indicates that a
HttpdTomcatSite is configured in the standard layout
of one Tomcat instance per Java virtual machine.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default setting of maxParameterCount on the <Connector /> in server.xml.static final intThe default setting of maxPostSize on the <Connector /> in server.xml.static final StringFields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.CachedObject
tableFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets theautoDeploysetting for this Tomcat.protected ObjectgetColumnImpl(int i) intGets themaxParameterCountor-1if not limited.intGets themaxPostSizeor-1if not limited.booleanGets thetomcatAuthenticationsetting for this Tomcat.booleanGets theundeployOldVersionssetting for this Tomcat.booleanGets theunpackWarssetting for this Tomcat.voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidsetAutoDeploy(boolean autoDeploy) voidsetHttpdTomcatVersion(Version version) voidsetMaxParameterCount(int maxParameterCount) voidsetMaxPostSize(int maxPostSize) voidsetTomcatAuthentication(boolean tomcatAuthentication) voidsetUndeployOldVersions(boolean undeployOldVersions) voidsetUnpackWars(boolean unpackWars) AoservObject.toString()implementation that is allowed to throw exceptions.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCodeMethods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTableMethods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Field Details
-
DEFAULT_MAX_PARAMETER_COUNT
public static final int DEFAULT_MAX_PARAMETER_COUNTThe default setting of maxParameterCount on the <Connector /> in server.xml. This matches the default of1000since Tomcat 8.5.88, 9.0.74, 10.1.8. Previously, the default was10000.- See Also:
-
DEFAULT_MAX_POST_SIZE
public static final int DEFAULT_MAX_POST_SIZEThe default setting of maxPostSize on the <Connector /> in server.xml. This raises the value from the Tomcat default of 2 MiB to a more real-world value, such as allowing uploads of pictures from modern digital cameras.- See Also:
-
DEFAULT_TOMCAT_VERSION_PREFIX
- See Also:
-
-
Constructor Details
-
PrivateTomcatSite
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,PrivateTomcatSite>
-
getHttpdTomcatSite
- Throws:
SQLExceptionIOException
-
getTomcat4ShutdownKey
-
getMaxParameterCount
public int getMaxParameterCount()Gets themaxParameterCountor-1if not limited. -
setMaxParameterCount
- Throws:
IOExceptionSQLException
-
getMaxPostSize
public int getMaxPostSize()Gets themaxPostSizeor-1if not limited. -
setMaxPostSize
- Throws:
IOExceptionSQLException
-
getUnpackWars
public boolean getUnpackWars()Gets theunpackWarssetting for this Tomcat. -
setUnpackWars
- Throws:
IOExceptionSQLException
-
getAutoDeploy
public boolean getAutoDeploy()Gets theautoDeploysetting for this Tomcat. -
setAutoDeploy
- Throws:
IOExceptionSQLException
-
getUndeployOldVersions
public boolean getUndeployOldVersions()Gets theundeployOldVersionssetting for this Tomcat. -
setUndeployOldVersions
- Throws:
IOExceptionSQLException
-
getTomcatAuthentication
public boolean getTomcatAuthentication()Gets thetomcatAuthenticationsetting for this Tomcat. -
setTomcatAuthentication
- Throws:
IOExceptionSQLException
-
getTomcat4ShutdownPort_id
-
getTomcat4ShutdownPort
- Throws:
IOExceptionSQLException
-
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,PrivateTomcatSite>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,PrivateTomcatSite> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,PrivateTomcatSite> - Throws:
IOException
-
toStringImpl
Description copied from class:AoservObjectAoservObject.toString()implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAoservObject.toString()on the key (fromAoservObject.getKey()). When the key isnull, uses the default implementation fromObject.toString().- Overrides:
toStringImplin classCachedObjectIntegerKey<PrivateTomcatSite>- Throws:
SQLExceptionIOException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,PrivateTomcatSite> - Throws:
IOException
-
setHttpdTomcatVersion
- Throws:
IOExceptionSQLException
-
