You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xi...@apache.org on 2012/04/27 09:54:06 UTC
svn commit: r1331276 - in
/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main:
java/org/apache/geronimo/tomcat/model/ConnectorType.java xsd/server.xsd
Author: xiaming
Date: Fri Apr 27 07:54:05 2012
New Revision: 1331276
URL: http://svn.apache.org/viewvc?rev=1331276&view=rev
Log:
GERONIMO-6339 Update ConnectorType model class to include the new property maxParameterCount for trunk
Modified:
geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/model/ConnectorType.java
geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/xsd/server.xsd
Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/model/ConnectorType.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/model/ConnectorType.java?rev=1331276&r1=1331275&r2=1331276&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/model/ConnectorType.java (original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/model/ConnectorType.java Fri Apr 27 07:54:05 2012
@@ -94,6 +94,8 @@ public class ConnectorType {
@XmlAttribute
protected Boolean enableLookups;
@XmlAttribute
+ protected Integer maxParameterCount;
+ @XmlAttribute
protected Integer maxPostSize;
@XmlAttribute
protected Integer maxSavePostSize;
@@ -125,6 +127,7 @@ public class ConnectorType {
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
private static final String EMPTY_SESSION_PATH = "emptySessionPath";
private static final String ENABLE_LOOKUPS = "enableLookups";
+ private static final String MAX_PARAMETER_COUNT = "maxParameterCount";
private static final String MAX_POST_SIZE = "maxPostSize";
private static final String MAX_SAVE_POST_SIZE = "maxSavePostSize";
private static final String PORT = "port";
@@ -248,6 +251,26 @@ public class ConnectorType {
public void setEnableLookups(Boolean value) {
this.enableLookups = value;
}
+
+ /**
+ * Gets the value of the maxParameterCount property.
+ *
+ * @return possible object is
+ * {@link Integer }
+ */
+ public Integer getMaxParameterCount() {
+ return maxParameterCount;
+ }
+
+ /**
+ * Sets the value of the maxParameterCount property.
+ *
+ * @param value allowed object is
+ * {@link Integer }
+ */
+ public void setMaxParameterCount(Integer value) {
+ this.maxParameterCount = value;
+ }
/**
* Gets the value of the maxPostSize property.
@@ -557,6 +580,9 @@ public class ConnectorType {
if (isEnableLookups() != null) {
properties.put(ENABLE_LOOKUPS, isEnableLookups());
}
+ if (getMaxParameterCount() != null) {
+ properties.put(MAX_PARAMETER_COUNT, getMaxParameterCount());
+ }
if (getMaxPostSize() != null) {
properties.put(MAX_POST_SIZE, getMaxPostSize());
}
Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/xsd/server.xsd
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/xsd/server.xsd?rev=1331276&r1=1331275&r2=1331276&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/xsd/server.xsd (original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/xsd/server.xsd Fri Apr 27 07:54:05 2012
@@ -130,6 +130,7 @@
<xs:attribute type="xs:boolean" name="allowTrace"/>
<xs:attribute type="xs:boolean" name="emptySessionPath"/>
<xs:attribute type="xs:boolean" name="enableLookups"/>
+ <xs:attribute type="xs:int" name="maxParameterCount"/>
<xs:attribute type="xs:int" name="maxPostSize"/>
<xs:attribute type="xs:int" name="maxSavePostSize"/>
<xs:attribute type="xs:int" name="port"/>