org.objectweb.jonas.webapp.jonasadmin.catalina
Class ConnectorForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.catalina.ConnectorForm
All Implemented Interfaces:
java.io.Serializable

public final class ConnectorForm
extends org.apache.struts.action.ActionForm

Form bean for the connector page.

Author:
Michel-Ange ANTON, Adriana Danes - update to Tomact 5.0 - update to Tomact 5.5 (04/2005)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ConnectorForm()
           
 
Method Summary
 java.lang.String getAcceptCountText()
          Return the acceptCountText.
 java.lang.String getAction()
          Return the administrative action represented by this form.
 java.lang.String getAddress()
          Return the address.
 java.lang.String getAlgorithm()
           
 java.util.List getBooleanVals()
          Return the booleanVals.
 java.lang.String getBufferSizeText()
          Return the bufferSizeText.
 java.lang.String getCiphers()
           
 java.lang.String getCompression()
           
 java.lang.String getConnectionLingerText()
           
 java.lang.String getConnectionUploadTimeoutText()
           
 java.lang.String getConnectorName()
           
 java.lang.String getConnectorType()
          Return the Connector type.
 java.util.List getConnectorTypeVals()
          Return the connectorTypeVals.
 java.lang.String getConnTimeOutText()
          Return the connTimeOutText.
 java.lang.String getKeystoreFile()
           
 java.lang.String getKeystorePass()
           
 java.lang.String getKeystoreType()
           
 java.lang.String getLabel()
           
 java.lang.String getMaxHttpHeaderSizeText()
           
 java.lang.String getMaxKeepAliveRequestsText()
           
 java.lang.String getMaxPostSizeText()
           
 java.lang.String getMaxSpareThreadsText()
          Return the max SpareThreads Text.
 java.lang.String getMaxThreadsText()
          Return the max SpareThreads Text.
 java.lang.String getMinSpareThreadsText()
          Return the min SpareThreads Text.
 java.lang.String getObjectName()
          Return the object name of the Connector this bean refers to.
 java.lang.String getOutputBufferSizeText()
           
 java.lang.String getPortText()
          Return the port text.
 java.lang.String getProtocol()
           
 java.lang.String getProxyName()
          Return the proxy Name.
 java.lang.String getProxyPortText()
          Return the proxy Port NumberText.
 java.lang.String getRedirectPortText()
          Return the port.
 java.lang.String getScheme()
          Return the Scheme.
 java.lang.String getServiceName()
          Return the object name of the service this connector belongs to.
 java.lang.String getSslProtocol()
           
 java.lang.String getStrategy()
           
 java.lang.String getThreadPriorityText()
           
 java.lang.String getURIEncoding()
           
 boolean isAllowTrace()
           
 boolean isClientAuth()
          Return the true/false value of client authentication.
 boolean isDisableUploadTimeout()
           
 boolean isEmptySessionPath()
           
 boolean isEnableLookups()
          Return the Enable lookup Text.
 boolean isSave()
           
 boolean isSecure()
           
 boolean isTcpNoDelay()
           
 boolean isTomcatAuthentication()
           
 boolean isUseBodyEncodingForURI()
           
 boolean isXpoweredBy()
           
 void numberCheck(org.apache.struts.action.ActionErrors pErrors, java.lang.String field, java.lang.String numText, boolean rangeCheck, int min, int max)
          Helper method to check that it is a required number and is a valid integer within the given range.
 void setAcceptCountText(java.lang.String acceptCountText)
          Set the acceptCountText.
 void setAction(java.lang.String action)
          Set the administrative action represented by this form.
 void setAddress(java.lang.String address)
          Set the address.
 void setAlgorithm(java.lang.String algorithm)
           
 void setAllowTrace(boolean allowTrace)
           
 void setBooleanVals(java.util.List booleanVals)
          Set the debugVals.
 void setBufferSizeText(java.lang.String bufferSizeText)
          Set the bufferSizeText.
 void setCiphers(java.lang.String ciphers)
           
 void setClientAuth(boolean clientAuthentication)
          Set whether client authentication is supported or not.
 void setCompression(java.lang.String compression)
           
 void setConnectionLingerText(java.lang.String connectionLingerText)
           
 void setConnectionUploadTimeoutText(java.lang.String connectionUploadTimeoutText)
           
 void setConnectorName(java.lang.String connectorName)
           
 void setConnectorType(java.lang.String connectorType)
          Set the Connector type.
 void setConnectorTypeVals(java.util.List connectorTypeVals)
          Set the connectorTypeVals.
 void setConnTimeOutText(java.lang.String connTimeOutText)
          Set the connTimeOutText.
 void setDisableUploadTimeout(boolean disableUploadTimeout)
           
 void setEmptySessionPath(boolean emptySessionPath)
           
 void setEnableLookups(boolean enableLookups)
          Set the Enable Lookup Text.
 void setKeystoreFile(java.lang.String keyStoreFileName)
           
 void setKeystorePass(java.lang.String keyStorePassword)
           
 void setKeystoreType(java.lang.String keystoreType)
           
 void setMaxHttpHeaderSizeText(java.lang.String maxHttpHeaderSize)
           
 void setMaxKeepAliveRequestsText(java.lang.String maxKeepAliveRequests)
           
 void setMaxPostSizeText(java.lang.String maxPostSizeText)
           
 void setMaxSpareThreadsText(java.lang.String maxSpareThreadsText)
          Set the Max SpareThreads Text.
 void setMaxThreadsText(java.lang.String maxThreadsText)
          Set the Max SpareThreads Text.
 void setMinSpareThreadsText(java.lang.String minSpareThreadsText)
          Set the minSpareThreads Text.
 void setObjectName(java.lang.String objectName)
          Set the object name of the Connector this bean refers to.
 void setOutputBufferSizeText(java.lang.String outputBufferSizeText)
           
 void setPortText(java.lang.String portText)
          Set the port Text.
 void setProtocol(java.lang.String protocol)
           
 void setProxyName(java.lang.String proxyName)
          Set the proxy Name.
 void setProxyPortText(java.lang.String proxyPortText)
          Set the proxy Port NumberText.
 void setRedirectPortText(java.lang.String redirectPortText)
          Set the Redirect Port Text.
 void setSave(boolean save)
           
 void setScheme(java.lang.String scheme)
          Set the Scheme.
 void setSecure(boolean secure)
           
 void setServiceName(java.lang.String serviceName)
          Set the object name of the Service this connector belongs to.
 void setSslProtocol(java.lang.String sslProtocol)
           
 void setStrategy(java.lang.String strategy)
           
 void setTcpNoDelay(boolean tcpNoDelay)
           
 void setThreadPriorityText(java.lang.String threadPriority)
           
 void setTomcatAuthentication(boolean tomcatAuthentication)
           
 void setURIEncoding(java.lang.String encoding)
           
 void setUseBodyEncodingForURI(boolean useBodyEncodingForURI)
           
 void setXpoweredBy(boolean xpoweredBy)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorForm

public ConnectorForm()
Method Detail

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
the ActionErrors

numberCheck

public void numberCheck(org.apache.struts.action.ActionErrors pErrors,
                        java.lang.String field,
                        java.lang.String numText,
                        boolean rangeCheck,
                        int min,
                        int max)
Helper method to check that it is a required number and is a valid integer within the given range. (min, max).

Parameters:
field - The field name in the form for which this error occured.
numText - The string representation of the number.
rangeCheck - Boolean value set to true of reange check should be performed.
min - The lower limit of the range
max - The upper limit of the range
pErrors - the ActionErrors

getAction

public java.lang.String getAction()
Return the administrative action represented by this form.

Returns:
the administrative action

setAction

public void setAction(java.lang.String action)
Set the administrative action represented by this form.

Parameters:
action - the action to set

getObjectName

public java.lang.String getObjectName()
Return the object name of the Connector this bean refers to.

Returns:
the object name of the Connector MBean

setObjectName

public void setObjectName(java.lang.String objectName)
Set the object name of the Connector this bean refers to.

Parameters:
objectName - object name of the Connector MBean

getServiceName

public java.lang.String getServiceName()
Return the object name of the service this connector belongs to.

Returns:
the object name of the service this connector belongs to

setServiceName

public void setServiceName(java.lang.String serviceName)
Set the object name of the Service this connector belongs to.

Parameters:
serviceName - the object name of the service this connector belongs to

getScheme

public java.lang.String getScheme()
Return the Scheme.

Returns:
the scheme

setScheme

public void setScheme(java.lang.String scheme)
Set the Scheme.

Parameters:
scheme - the scheme to set

getConnectorType

public java.lang.String getConnectorType()
Return the Connector type.

Returns:
the Connector type

setConnectorType

public void setConnectorType(java.lang.String connectorType)
Set the Connector type.

Parameters:
connectorType - the Connector type to set

getAcceptCountText

public java.lang.String getAcceptCountText()
Return the acceptCountText.

Returns:
the acceptCount

setAcceptCountText

public void setAcceptCountText(java.lang.String acceptCountText)
Set the acceptCountText.

Parameters:
acceptCountText - the acceptCount text

getConnTimeOutText

public java.lang.String getConnTimeOutText()
Return the connTimeOutText.

Returns:
the connTimeOut

setConnTimeOutText

public void setConnTimeOutText(java.lang.String connTimeOutText)
Set the connTimeOutText.

Parameters:
connTimeOutText - the connTimeOut text

getBufferSizeText

public java.lang.String getBufferSizeText()
Return the bufferSizeText.

Returns:
the bufferSize

setBufferSizeText

public void setBufferSizeText(java.lang.String bufferSizeText)
Set the bufferSizeText.

Parameters:
bufferSizeText - the bufferSize to set

getAddress

public java.lang.String getAddress()
Return the address.

Returns:
the address

setAddress

public void setAddress(java.lang.String address)
Set the address.

Parameters:
address - the address to set

getProxyName

public java.lang.String getProxyName()
Return the proxy Name.

Returns:
the proxy name

setProxyName

public void setProxyName(java.lang.String proxyName)
Set the proxy Name.

Parameters:
proxyName - the proxy name to set

getProxyPortText

public java.lang.String getProxyPortText()
Return the proxy Port NumberText.

Returns:
the proxy port number

setProxyPortText

public void setProxyPortText(java.lang.String proxyPortText)
Set the proxy Port NumberText.

Parameters:
proxyPortText - the proxy port number to set

isClientAuth

public boolean isClientAuth()
Return the true/false value of client authentication.

Returns:
the value of client authentication

setClientAuth

public void setClientAuth(boolean clientAuthentication)
Set whether client authentication is supported or not.

Parameters:
clientAuthentication - the client authentication to set or not

getKeystoreFile

public java.lang.String getKeystoreFile()
Returns:
the keyStore file name

setKeystoreFile

public void setKeystoreFile(java.lang.String keyStoreFileName)
Parameters:
keyStoreFileName - the keyStore file name to set

getKeystorePass

public java.lang.String getKeystorePass()
Returns:
the keyStore password

setKeystorePass

public void setKeystorePass(java.lang.String keyStorePassword)
Parameters:
keyStorePassword - the keyStore password to set

isEnableLookups

public boolean isEnableLookups()
Return the Enable lookup Text.

Returns:
true if loookups enabled

setEnableLookups

public void setEnableLookups(boolean enableLookups)
Set the Enable Lookup Text.

Parameters:
enableLookups - Enable Lookup Text

getBooleanVals

public java.util.List getBooleanVals()
Return the booleanVals.


setBooleanVals

public void setBooleanVals(java.util.List booleanVals)
Set the debugVals.


getMinSpareThreadsText

public java.lang.String getMinSpareThreadsText()
Return the min SpareThreads Text.

Returns:
minSpareThreads value

setMinSpareThreadsText

public void setMinSpareThreadsText(java.lang.String minSpareThreadsText)
Set the minSpareThreads Text.

Parameters:
minSpareThreadsText - minSpareThreads value to set

getMaxSpareThreadsText

public java.lang.String getMaxSpareThreadsText()
Return the max SpareThreads Text.

Returns:
maxSpareThreads value

setMaxSpareThreadsText

public void setMaxSpareThreadsText(java.lang.String maxSpareThreadsText)
Set the Max SpareThreads Text.

Parameters:
maxSpareThreadsText - maxSpareThreads value to set

getMaxThreadsText

public java.lang.String getMaxThreadsText()
Return the max SpareThreads Text.

Returns:
maxThreads value

setMaxThreadsText

public void setMaxThreadsText(java.lang.String maxThreadsText)
Set the Max SpareThreads Text.

Parameters:
maxThreadsText - maxSpareThreads value to set

getPortText

public java.lang.String getPortText()
Return the port text.

Returns:
the port number

setPortText

public void setPortText(java.lang.String portText)
Set the port Text.

Parameters:
portText - port to set

getRedirectPortText

public java.lang.String getRedirectPortText()
Return the port.

Returns:
the redirect port number

setRedirectPortText

public void setRedirectPortText(java.lang.String redirectPortText)
Set the Redirect Port Text.

Parameters:
redirectPortText - the redirect port to set

getConnectorName

public java.lang.String getConnectorName()
Returns:
the connector name

setConnectorName

public void setConnectorName(java.lang.String connectorName)
Parameters:
connectorName - connector name to set

getConnectorTypeVals

public java.util.List getConnectorTypeVals()
Return the connectorTypeVals.

Returns:
the connector types

setConnectorTypeVals

public void setConnectorTypeVals(java.util.List connectorTypeVals)
Set the connectorTypeVals.

Parameters:
connectorTypeVals - the connector types

getLabel

public java.lang.String getLabel()
Returns:
the labels

isSave

public boolean isSave()
Returns:
true if save action

setSave

public void setSave(boolean save)
Parameters:
save - set the save action

isAllowTrace

public boolean isAllowTrace()
Returns:
Returns the allowTrace.

setAllowTrace

public void setAllowTrace(boolean allowTrace)
Parameters:
allowTrace - The allowTrace to set.

isEmptySessionPath

public boolean isEmptySessionPath()
Returns:
Returns the emptySessionPath.

setEmptySessionPath

public void setEmptySessionPath(boolean emptySessionPath)
Parameters:
emptySessionPath - The emptySessionPath to set.

getMaxPostSizeText

public java.lang.String getMaxPostSizeText()
Returns:
Returns the maxPostSize.

setMaxPostSizeText

public void setMaxPostSizeText(java.lang.String maxPostSizeText)
Parameters:
maxPostSize - The maxPostSize to set.

getProtocol

public java.lang.String getProtocol()
Returns:
Returns the protocol.

isSecure

public boolean isSecure()
Returns:
Returns the secure.

setSecure

public void setSecure(boolean secure)
Parameters:
secure - The secure to set.

getURIEncoding

public java.lang.String getURIEncoding()
Returns:
Returns the uRIEncoding.

setURIEncoding

public void setURIEncoding(java.lang.String encoding)
Parameters:
encoding - The uRIEncoding to set.

isUseBodyEncodingForURI

public boolean isUseBodyEncodingForURI()
Returns:
Returns the useBodyEncodingForURI.

setUseBodyEncodingForURI

public void setUseBodyEncodingForURI(boolean useBodyEncodingForURI)
Parameters:
useBodyEncodingForURI - The useBodyEncodingForURI to set.

isXpoweredBy

public boolean isXpoweredBy()
Returns:
Returns the xpoweredBy.

setXpoweredBy

public void setXpoweredBy(boolean xpoweredBy)
Parameters:
xpoweredBy - The xpoweredBy to set.

getCompression

public java.lang.String getCompression()
Returns:
Returns the compression.

setCompression

public void setCompression(java.lang.String compression)
Parameters:
compression - The compression to set.

getConnectionLingerText

public java.lang.String getConnectionLingerText()
Returns:
Returns the connectionLingerText.

setConnectionLingerText

public void setConnectionLingerText(java.lang.String connectionLingerText)
Parameters:
connectionLingerText - The connectionLingerText to set.

getConnectionUploadTimeoutText

public java.lang.String getConnectionUploadTimeoutText()
Returns:
Returns the connectionUploadTimeoutText.

setConnectionUploadTimeoutText

public void setConnectionUploadTimeoutText(java.lang.String connectionUploadTimeoutText)
Parameters:
connectionUploadTimeoutText - The connectionUploadTimeoutText to set.

isDisableUploadTimeout

public boolean isDisableUploadTimeout()
Returns:
Returns the disableUploadTimeout.

setDisableUploadTimeout

public void setDisableUploadTimeout(boolean disableUploadTimeout)
Parameters:
disableUploadTimeout - The disableUploadTimeout to set.

getMaxHttpHeaderSizeText

public java.lang.String getMaxHttpHeaderSizeText()
Returns:
Returns the maxHttpHeaderSize.

setMaxHttpHeaderSizeText

public void setMaxHttpHeaderSizeText(java.lang.String maxHttpHeaderSize)
Parameters:
maxHttpHeaderSize - The maxHttpHeaderSize to set.

getMaxKeepAliveRequestsText

public java.lang.String getMaxKeepAliveRequestsText()
Returns:
Returns the maxKeepAliveRequests.

setMaxKeepAliveRequestsText

public void setMaxKeepAliveRequestsText(java.lang.String maxKeepAliveRequests)
Parameters:
maxKeepAliveRequests - The maxKeepAliveRequests to set.

getStrategy

public java.lang.String getStrategy()
Returns:
Returns the strategy.

setStrategy

public void setStrategy(java.lang.String strategy)
Parameters:
strategy - The strategy to set.

getThreadPriorityText

public java.lang.String getThreadPriorityText()
Returns:
Returns the threadPriority.

setThreadPriorityText

public void setThreadPriorityText(java.lang.String threadPriority)
Parameters:
threadPriority - The threadPriority to set.

isTomcatAuthentication

public boolean isTomcatAuthentication()
Returns:
Returns the tomcatAuthentication.

setTomcatAuthentication

public void setTomcatAuthentication(boolean tomcatAuthentication)
Parameters:
tomcatAuthentication - The tomcatAuthentication to set.

getAlgorithm

public java.lang.String getAlgorithm()
Returns:
Returns the algorithm.

setAlgorithm

public void setAlgorithm(java.lang.String algorithm)
Parameters:
algorithm - The algorithm to set.

getKeystoreType

public java.lang.String getKeystoreType()
Returns:
Returns the keystoreType.

setKeystoreType

public void setKeystoreType(java.lang.String keystoreType)
Parameters:
keystoreType - The keystoreType to set.

getSslProtocol

public java.lang.String getSslProtocol()
Returns:
Returns the sslProtocol.

setSslProtocol

public void setSslProtocol(java.lang.String sslProtocol)
Parameters:
sslProtocol - The sslProtocol to set.

getCiphers

public java.lang.String getCiphers()
Returns:
Returns the ciphers.

setCiphers

public void setCiphers(java.lang.String ciphers)
Parameters:
ciphers - The ciphers to set.

setProtocol

public void setProtocol(java.lang.String protocol)
Parameters:
protocol - The protocol to set.

isTcpNoDelay

public boolean isTcpNoDelay()
Returns:
Returns the tcpNoDelay.

setTcpNoDelay

public void setTcpNoDelay(boolean tcpNoDelay)
Parameters:
tcpNoDelay - The tcpNoDelay to set.

getOutputBufferSizeText

public java.lang.String getOutputBufferSizeText()
Returns:
Returns the outputBufferSizeText.

setOutputBufferSizeText

public void setOutputBufferSizeText(java.lang.String outputBufferSizeText)
Parameters:
outputBufferSizeText - The outputBufferSizeText to set.