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
Modifier and TypeFieldDescriptionstatic final int
The default setting of maxParameterCount on the <Connector /> in server.xml.static final int
The default setting of maxPostSize on the <Connector /> in server.xml.static final String
Fields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
pkey
Fields inherited from class com.aoindustries.aoserv.client.CachedObject
table
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets theautoDeploy
setting for this Tomcat.protected Object
getColumnImpl
(int i) int
Gets themaxParameterCount
or-1
if not limited.int
Gets themaxPostSize
or-1
if not limited.boolean
Gets thetomcatAuthentication
setting for this Tomcat.boolean
Gets theundeployOldVersions
setting for this Tomcat.boolean
Gets theunpackWars
setting for this Tomcat.void
Initializes this object from the raw database contents.void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
setAutoDeploy
(boolean autoDeploy) void
setHttpdTomcatVersion
(Version version) void
setMaxParameterCount
(int maxParameterCount) void
setMaxPostSize
(int maxPostSize) void
setTomcatAuthentication
(boolean tomcatAuthentication) void
setUndeployOldVersions
(boolean undeployOldVersions) void
setUnpackWars
(boolean unpackWars) AoservObject.toString()
implementation that is allowed to throw exceptions.void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCode
Methods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTable
Methods 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 of1000
since 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.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Integer,
PrivateTomcatSite>
-
getHttpdTomcatSite
- Throws:
SQLException
IOException
-
getTomcat4ShutdownKey
-
getMaxParameterCount
public int getMaxParameterCount()Gets themaxParameterCount
or-1
if not limited. -
setMaxParameterCount
- Throws:
IOException
SQLException
-
getMaxPostSize
public int getMaxPostSize()Gets themaxPostSize
or-1
if not limited. -
setMaxPostSize
- Throws:
IOException
SQLException
-
getUnpackWars
public boolean getUnpackWars()Gets theunpackWars
setting for this Tomcat. -
setUnpackWars
- Throws:
IOException
SQLException
-
getAutoDeploy
public boolean getAutoDeploy()Gets theautoDeploy
setting for this Tomcat. -
setAutoDeploy
- Throws:
IOException
SQLException
-
getUndeployOldVersions
public boolean getUndeployOldVersions()Gets theundeployOldVersions
setting for this Tomcat. -
setUndeployOldVersions
- Throws:
IOException
SQLException
-
getTomcatAuthentication
public boolean getTomcatAuthentication()Gets thetomcatAuthentication
setting for this Tomcat. -
setTomcatAuthentication
- Throws:
IOException
SQLException
-
getTomcat4ShutdownPort_id
-
getTomcat4ShutdownPort
- Throws:
IOException
SQLException
-
getTableId
- Specified by:
getTableId
in classAoservObject<Integer,
PrivateTomcatSite>
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Integer,
PrivateTomcatSite> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Integer,
PrivateTomcatSite> - Throws:
IOException
-
toStringImpl
Description copied from class:AoservObject
AoservObject.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:
toStringImpl
in classCachedObjectIntegerKey<PrivateTomcatSite>
- Throws:
SQLException
IOException
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Integer,
PrivateTomcatSite> - Throws:
IOException
-
setHttpdTomcatVersion
- Throws:
IOException
SQLException
-