You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by jo...@apache.org on 2010/02/12 17:15:02 UTC
svn commit: r909476 - in /webservices/xmlrpc/trunk:
client/src/main/java/org/apache/xmlrpc/client/
common/src/main/java/org/apache/xmlrpc/common/
Author: jochen
Date: Fri Feb 12 16:15:00 2010
New Revision: 909476
URL: http://svn.apache.org/viewvc?rev=909476&view=rev
Log: (empty)
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfig.java
webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfigImpl.java
Modified: webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java
URL: http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java?rev=909476&r1=909475&r2=909476&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java (original)
+++ webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java Fri Feb 12 16:15:00 2010
@@ -32,7 +32,7 @@
/**
* Default implementation of an HTTP transport in Java 1.4, based on the
* {@link java.net.HttpURLConnection} class. Adds support for the
- * {@link Proxy} class.
+ * {@link Proxy} class, and the connection and reply timeout values.
*/
public class XmlRpcSun15HttpTransport extends XmlRpcSun14HttpTransport {
/**
Modified: webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfig.java
URL: http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfig.java?rev=909476&r1=909475&r2=909476&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfig.java (original)
+++ webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfig.java Fri Feb 12 16:15:00 2010
@@ -18,6 +18,12 @@
*/
package org.apache.xmlrpc.common;
+import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcLite14HttpTransport;
+import org.apache.xmlrpc.client.XmlRpcLiteHttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSunHttpTransportFactory;
import org.apache.xmlrpc.common.XmlRpcHttpConfig;
import org.apache.xmlrpc.common.XmlRpcStreamRequestConfig;
@@ -37,12 +43,25 @@
*/
String getBasicPassword();
- /** Return the connection timeout in milliseconds
+ /** Returns the connection timeout in milliseconds. Note, that this value
+ * may or may not be used, depending on the transport factory. Transport factories,
+ * which are known to use this value: {@link XmlRpcCommonsTransportFactory},
+ * and {@link XmlRpcSun15HttpTransportFactory}. On the other hand, transport
+ * factories which are known <em>not</em> to use this value:
+ * {@link XmlRpcSunHttpTransportFactory}, {@link XmlRpcSun14HttpTransportFactory},
+ * {@link XmlRpcLiteHttpTransportFactory}, and {@link XmlRpcLite14HttpTransport}.
+ *
* @return connection timeout in milliseconds or 0 if no set
*/
int getConnectionTimeout();
- /** Return the reply timeout in milliseconds
+ /** Return the reply timeout in milliseconds. Note, that this value
+ * may or may not be used, depending on the transport factory. Transport factories,
+ * which are known to use this value: {@link XmlRpcCommonsTransportFactory},
+ * and {@link XmlRpcSun15HttpTransportFactory}. On the other hand, transport
+ * factories which are known <em>not</em> to use this value:
+ * {@link XmlRpcSunHttpTransportFactory}, {@link XmlRpcSun14HttpTransportFactory},
+ * {@link XmlRpcLiteHttpTransportFactory}, and {@link XmlRpcLite14HttpTransport}.
* @return reply timeout in milliseconds or 0 if no set
*/
int getReplyTimeout();
Modified: webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfigImpl.java
URL: http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfigImpl.java?rev=909476&r1=909475&r2=909476&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfigImpl.java (original)
+++ webservices/xmlrpc/trunk/common/src/main/java/org/apache/xmlrpc/common/XmlRpcHttpRequestConfigImpl.java Fri Feb 12 16:15:00 2010
@@ -19,6 +19,12 @@
package org.apache.xmlrpc.common;
import org.apache.xmlrpc.XmlRpcConfigImpl;
+import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcLite14HttpTransport;
+import org.apache.xmlrpc.client.XmlRpcLiteHttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory;
+import org.apache.xmlrpc.client.XmlRpcSunHttpTransportFactory;
/** Default implementation of a request configuration.
@@ -79,7 +85,13 @@
public String getBasicPassword() { return basicPassword; }
- /** Set the connection timeout in milliseconds.
+ /** Set the connection timeout in milliseconds. Note, that this value
+ * may or may not be used, depending on the transport factory. Transport factories,
+ * which are known to use this value: {@link XmlRpcCommonsTransportFactory},
+ * and {@link XmlRpcSun15HttpTransportFactory}. On the other hand, transport
+ * factories which are known <em>not</em> to use this value:
+ * {@link XmlRpcSunHttpTransportFactory}, {@link XmlRpcSun14HttpTransportFactory},
+ * {@link XmlRpcLiteHttpTransportFactory}, and {@link XmlRpcLite14HttpTransport}.
* @param pTimeout connection timeout, 0 to disable it
*/
public void setConnectionTimeout(int pTimeout) {
@@ -90,7 +102,13 @@
return connectionTimeout;
}
- /** Set the reply timeout in milliseconds.
+ /** Set the reply timeout in milliseconds. Note, that this value
+ * may or may not be used, depending on the transport factory. Transport factories,
+ * which are known to use this value: {@link XmlRpcCommonsTransportFactory},
+ * and {@link XmlRpcSun15HttpTransportFactory}. On the other hand, transport
+ * factories which are known <em>not</em> to use this value:
+ * {@link XmlRpcSunHttpTransportFactory}, {@link XmlRpcSun14HttpTransportFactory},
+ * {@link XmlRpcLiteHttpTransportFactory}, and {@link XmlRpcLite14HttpTransport}.
* @param pTimeout reply timeout, 0 to disable it
*/
public void setReplyTimeout(int pTimeout) {