| java.lang.Object org.objectweb.jonas.jonasadmin.test.catalina.ConnectorUtils
ConnectorUtils | public class ConnectorUtils (Code) | | Class for using connectors from jonasAdmin, for example create a new connector.
author: Paul Kemler |
Method Summary | |
public static void | createNewAjpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String maxPostSizeText) | public static String | createNewConnector(WebConversation wc) | public static String | createNewConnector(WebConversation wc, String protocol) | public static void | createNewHttpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String proxyPortText, String maxPostSizeText) | public static void | createNewHttpsConnector(WebForm form, String maxSpareThreadsText, String keystorePass, String URIEncoding, String portText, String minSpareThreadsText, String address, String keystoreType, String algorithm, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String sslProtocol, String objectName, String secure, String action, String save, String emptySessionPath, String keystoreFile, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String clientAuth, String allowTrace, String ciphers, String proxyPortText, String maxPostSizeText) | public static void | deleteConnector(WebConversation wc, String port) | public static void | deleteConnectors(WebConversation wc, String[] tabPort) | public static WebResponse | getConnectorPage(WebConversation wc) | public static void | modifyHttpConnector(WebForm form, String acceptCountText, String maxPostSizeText, String connTimeOutText, String URIEncoding, String bufferSizeText, String address, String redirectPortText, String maxThreadsText, String minSpareThreadsText, String maxSpareThreadsText, String proxyName, String proxyPortText, String allowTrace, String emptySessionPath, String enableLookups, String useBodyEncodingForURI, String xpoweredBy, String tcpNoDelay) |
FRAME_CONTENT | final protected static String FRAME_CONTENT(Code) | | NAME of FRAME content
|
FRAME_TREE | final protected static String FRAME_TREE(Code) | | NAME of FRAME tree
|
createNewAjpConnector | public static void createNewAjpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String maxPostSizeText) throws Exception(Code) | | Create New Ajp Connector
Parameters: form - Web Form to create ajp connector Parameters: maxSpareThreadsText - a string Parameters: URIEncoding - a string Parameters: portText - a string Parameters: minSpareThreadsText - a string Parameters: address - a string Parameters: tcpNoDelay - a string Parameters: maxThreadsText - a string Parameters: xpoweredBy - a string Parameters: connectorType - a string Parameters: objectName - a string Parameters: secure - a string Parameters: action - a string Parameters: save - a string Parameters: emptySessionPath - a string Parameters: acceptCountText - a string Parameters: bufferSizeText - a string Parameters: useBodyEncodingForURI - a string Parameters: connTimeOutText - a string Parameters: redirectPortText - a string Parameters: enableLookups - a string Parameters: allowTrace - a string Parameters: maxPostSizeText - a string throws: Exception - if an error occurs when button is clicked. |
createNewConnector | public static String createNewConnector(WebConversation wc) throws Exception(Code) | | Create a new connector
Parameters: wc - logged to jonasAdmin port of the new connector throws: Exception - if an error occurs |
createNewConnector | public static String createNewConnector(WebConversation wc, String protocol) throws Exception(Code) | | Create a new connector
Parameters: wc - logged to jonasAdmin Parameters: protocol - protocol to create ("http", "https" or "ajp") port of the new connector throws: Exception - if an error occurs |
createNewHttpConnector | public static void createNewHttpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String proxyPortText, String maxPostSizeText) throws Exception(Code) | | Create New Http Connector
Parameters: form - Web Form to create http connector Parameters: maxSpareThreadsText - a string Parameters: URIEncoding - a string Parameters: portText - a string Parameters: minSpareThreadsText - a string Parameters: address - a string Parameters: tcpNoDelay - a string Parameters: maxThreadsText - a string Parameters: xpoweredBy - a string Parameters: connectorType - a string Parameters: objectName - a string Parameters: secure - a string Parameters: action - a string Parameters: save - a string Parameters: emptySessionPath - a string Parameters: acceptCountText - a string Parameters: bufferSizeText - a string Parameters: proxyName - a string Parameters: useBodyEncodingForURI - a string Parameters: connTimeOutText - a string Parameters: redirectPortText - a string Parameters: enableLookups - a string Parameters: allowTrace - a string Parameters: proxyPortText - a string Parameters: maxPostSizeText - a string throws: Exception - if an error occurs when button is clicked. |
createNewHttpsConnector | public static void createNewHttpsConnector(WebForm form, String maxSpareThreadsText, String keystorePass, String URIEncoding, String portText, String minSpareThreadsText, String address, String keystoreType, String algorithm, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String sslProtocol, String objectName, String secure, String action, String save, String emptySessionPath, String keystoreFile, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String clientAuth, String allowTrace, String ciphers, String proxyPortText, String maxPostSizeText) throws Exception(Code) | | Create New Https Connector
Parameters: form - Web Form to create https connector Parameters: maxSpareThreadsText - a string Parameters: keystorePass - a string Parameters: URIEncoding - a string Parameters: portText - a string Parameters: minSpareThreadsText - a string Parameters: address - a string Parameters: keystoreType - a string Parameters: algorithm - a string Parameters: tcpNoDelay - a string Parameters: maxThreadsText - a string Parameters: xpoweredBy - a string Parameters: connectorType - a string Parameters: sslProtocol - a string Parameters: objectName - a string Parameters: secure - a string Parameters: action - a string Parameters: save - a string Parameters: emptySessionPath - a string Parameters: keystoreFile - a string Parameters: acceptCountText - a string Parameters: bufferSizeText - a string Parameters: proxyName - a string Parameters: useBodyEncodingForURI - a string Parameters: connTimeOutText - a string Parameters: redirectPortText - a string Parameters: enableLookups - a string Parameters: clientAuth - a string Parameters: allowTrace - a string Parameters: ciphers - a string Parameters: proxyPortText - a string Parameters: maxPostSizeText - a string throws: Exception - if an error occurs when button is clicked. |
deleteConnector | public static void deleteConnector(WebConversation wc, String port) throws Exception(Code) | | Remove a connector
Parameters: wc - logged to jonasAdmin Parameters: port - port number of the connector to remove throws: Exception - if an error occurs when connector is deleted |
deleteConnectors | public static void deleteConnectors(WebConversation wc, String[] tabPort) throws Exception(Code) | | Remove connectors
Parameters: wc - logged to jonasAdmin Parameters: port - port number of the connector to remove throws: Exception - if an error occurs |
getConnectorPage | public static WebResponse getConnectorPage(WebConversation wc) throws SAXException, IOException(Code) | | Get connector page when it is catalina
Parameters: wc - logged to jonasAdmin with catalina WebResponse: content frame with list of connectors throws: SAXException - if an error occurs when link is matched or clicked throws: IOException - if an error occurs when link is clicked |
modifyHttpConnector | public static void modifyHttpConnector(WebForm form, String acceptCountText, String maxPostSizeText, String connTimeOutText, String URIEncoding, String bufferSizeText, String address, String redirectPortText, String maxThreadsText, String minSpareThreadsText, String maxSpareThreadsText, String proxyName, String proxyPortText, String allowTrace, String emptySessionPath, String enableLookups, String useBodyEncodingForURI, String xpoweredBy, String tcpNoDelay) throws Exception(Code) | | Modify a connector
Parameters: wc - logged to jonasAdmin Parameters: port - number of the port of the connector to modify Parameters: acceptCountText - a string Parameters: maxPostSizeText - a string Parameters: connTimeOutText - a string Parameters: URIEncoding - a string Parameters: bufferSizeText - a string Parameters: address - a string Parameters: redirectPortText - a string Parameters: maxThreadsText - a string Parameters: minSpareThreadsText - a string Parameters: maxSpareThreadsText - a string Parameters: proxyName - a string Parameters: proxyPortText - a string throws: Exception - if an error occurs |
|
|