|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.protocolhandler.ProtocolWrapper
com.pushtotest.tool.protocolhandler.XMLRPCProtocol
public class XMLRPCProtocol
This is the implementation of the XML-RPC Protocol handler. This is mostly a wrapper for the methods in the Apache XML-RPC library.
| Field Summary |
|---|
| Fields inherited from class com.pushtotest.tool.protocolhandler.ProtocolWrapper |
|---|
body, errno, header, host, name, pass, path, port, proxyHost, proxyPass, proxyPort, proxyUser, query, response, running, scheme, timeout, type, url |
| Fields inherited from interface com.pushtotest.tool.protocolhandler.Protocol |
|---|
IOERROR, NOERROR, NOTREADY, OTHER, TIMEOUT |
| Constructor Summary | |
|---|---|
XMLRPCProtocol()
|
|
| Method Summary | |
|---|---|
Response |
connect()
Calling this method actually causes the connection to be made. |
java.lang.String |
id()
Returns an id for this protocol. |
void |
send()
Calling this method actually causes the connection to be made. |
void |
setDebug(java.lang.String theDebugValue)
Turns on debugging output for the XMLRPC library. |
void |
setKeepAlive(java.lang.String theValue)
Turns on keep connection alive option for the XMLRPC library. |
| Methods inherited from class com.pushtotest.tool.protocolhandler.ProtocolWrapper |
|---|
getBody, getErrno, getHost, getPassword, getResponse, getTimeout, getUrl, getUrl, getURL, getUsername, isRunning, parseUrl, run, setBody, setErrno, setHeader, setHost, setPassword, setPath, setPort, setProxyHost, setProxyPass, setProxyPort, setProxyUser, setQueryString, setScheme, setTimeout, setType, setUrl, setUsername, supports, supportsBody, supportsHeader, supportsResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLRPCProtocol()
| Method Detail |
|---|
public java.lang.String id()
.:// would be appropriate (without the "://")
id in interface Protocolid in class ProtocolWrapperpublic void setDebug(java.lang.String theDebugValue)
theDebugValue - Valid inputs: true, false
XXX Why is this not a boolean?public void setKeepAlive(java.lang.String theValue)
theValue - Valid inputs: true, false
fcohen Apr. 19, 2002: This may be moved into ProtocolHandler to
become a standard method for all Protocols
XXX Why is this not a boolean?
public Response connect()
throws NotReadyException,
NoSuchClassException,
ToolException,
java.io.IOException
connect in interface Protocolconnect in class ProtocolWrapperNotReadyException - If the connect is called without all of the proper
pieces set that it needs to connect to the given protocol.
ConnectionTimeoutException - If a timeout was set and that timeout is reached
before the connection is completed.
NoSuchClassException
ToolException
java.io.IOExceptionpublic void send()
ProtocolWrapper
send in class ProtocolWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||