| 
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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(<String> url, <String> methodName)
url -  The url of the XmlRpc entry point  
     methodName -  The name of the method to call  
     | Method Detail | 
Boolean debug()
Object execute()
String getCredentials()
String getInputEncoding()
String getMethodName()
String getOutputEncoding()
java.net.Proxy getProxy()
Number getReadTimeout()
Number getTimeout()
java.net.URL getUrl()
void setCredentials(<String> username, <String> password)
username -  The username  
      password -  The password       
      void setDebug(<Boolean> flag)
flag -  True or false.       
      void setEncoding(<String> enc)
enc -  The encoding to use for  both input and output. This must be a valid  java encoding string.       
      void setInputEncoding(<String> enc)
enc -  The encoding to use for input. This must be a valid  java encoding string.       
      void setOutputEncoding(<String> enc)
enc -  The encoding to use for output. This must be a valid  java encoding string.       
      void setProxy(<String> proxyString)
proxyString -  The proxy string in the form 'fqdn:port'  (eg. my.proxy.com:3128)       
      void setReadTimeout(<Number> millis)
millis -  The timeout to use as socket timeout       
      void setTimeout(<Number> millis)
millis -  The timeout to use as connection timeout       
      <static> String argumentsToString(<Object> args)
args -  An arguments array  
      <static> java.lang.Object convertArgument(<Object> obj)
obj -  The Javascript object to convert  
      <static> Object convertResult(<java.lang.Object> obj)
obj -  The Java object to convert  
      
  | 
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||