Jala 1.3

Class jala.XmlRpcRequest

Object
   |
   +--jala.XmlRpcRequest

class jala.XmlRpcRequest


Instances of this class provide the necessary functionality for issueing XmlRpc requests to a remote service.
Defined in XmlRpcRequest.js


Constructor Summary
jala.XmlRpcRequest (<String> url, <String> methodName)
            A constructor for XmlRpc request objects
 
Method Summary
 Boolean debug()
           Returns true if debug is enabled for this request, false otherwise
 Object execute()
           Calling this method executes the remote method using the arguments specified.
 String getCredentials()
           Returns the credentials of this request
 String getInputEncoding()
           Returns the input encoding
 String getMethodName()
           Returns the name of the remote function to call
 String getOutputEncoding()
           Returns the output encoding
 java.net.Proxy getProxy()
           Returns the proxy object.
 Number getReadTimeout()
           Returns the socket timeout of this request
 Number getTimeout()
           Returns the connection timeout of this request
 java.net.URL getUrl()
           Returns the URL of this request
 void setCredentials(<String> username, <String> password)
           Sets the credentials for basic http authentication to use with this request.
 void setDebug(<Boolean> flag)
           Enables or disables the debug mode.
 void setEncoding(<String> enc)
           Sets both input and output encoding to the specified encoding string
 void setInputEncoding(<String> enc)
           Sets the input encoding to the specified encoding string
 void setOutputEncoding(<String> enc)
           Sets the output encoding to the specified encoding string
 void setProxy(<String> proxyString)
           Sets the proxy host and port.
 void setReadTimeout(<Number> millis)
           Sets the socket timeout to the specified milliseconds.
 void setTimeout(<Number> millis)
           Sets the connection timeout to the specified milliseconds.
<static> String argumentsToString(<Object> args)
           Helper method to format an arguments array into a string useable for debugging output.
<static> java.lang.Object convertArgument(<Object> obj)
           Helper method for converting a Javascript object into its appropriate Java object.
<static> Object convertResult(<java.lang.Object> obj)
           Converts a Java object into its appropriate Javascript representation.

Constructor Detail

jala.XmlRpcRequest

jala.XmlRpcRequest(<String> url, <String> methodName)

Method Detail

debug

Boolean debug()

execute

Object execute()

getCredentials

String getCredentials()

getInputEncoding

String getInputEncoding()

getMethodName

String getMethodName()

getOutputEncoding

String getOutputEncoding()

getProxy

java.net.Proxy getProxy()

getReadTimeout

Number getReadTimeout()

getTimeout

Number getTimeout()

getUrl

java.net.URL getUrl()

setCredentials

void setCredentials(<String> username, <String> password)

setDebug

void setDebug(<Boolean> flag)

setEncoding

void setEncoding(<String> enc)

setInputEncoding

void setInputEncoding(<String> enc)

setOutputEncoding

void setOutputEncoding(<String> enc)

setProxy

void setProxy(<String> proxyString)

setReadTimeout

void setReadTimeout(<Number> millis)

setTimeout

void setTimeout(<Number> millis)

argumentsToString

<static> String argumentsToString(<Object> args)

convertArgument

<static> java.lang.Object convertArgument(<Object> obj)

convertResult

<static> Object convertResult(<java.lang.Object> obj)

Jala 1.3

Documentation generated by JSDoc on Tue Jan 8 15:45:31 2008