summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/host-http
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-10-11 15:44:04 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-10-11 15:44:04 +0000
commitf592a6e21180e86ea5de9125b1fa6a7763377608 (patch)
tree51ec5f9c53e8563e9e3f2f97507ca767cbf9b187 /sca-java-2.x/trunk/modules/host-http
parentc782c4865737d0dff39156a516a488bef05e66a0 (diff)
Fix an issue related to @Path on the jaxrs interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1397118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/host-http')
-rw-r--r--sca-java-2.x/trunk/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/client/HttpClientFactory.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/client/HttpClientFactory.java b/sca-java-2.x/trunk/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/client/HttpClientFactory.java
index 53b24a2f11..af61963e13 100644
--- a/sca-java-2.x/trunk/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/client/HttpClientFactory.java
+++ b/sca-java-2.x/trunk/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/client/HttpClientFactory.java
@@ -46,15 +46,15 @@ import org.apache.tuscany.sca.core.UtilityExtensionPoint;
* @version $Rev$ $Date$
*/
public class HttpClientFactory implements LifeCycleListener {
- private int soTimeout = 30000;
- private int connectionTimeout = 60000;
- private boolean staleCheckingEnabled = false;
- private long timeToLive = 60; // seconds
- private int maxPerRoute = 256;
- private int maxTotal = 1024;
- private boolean sslHostVerificationEnabled = false;
-
- private HttpClient httpClient;
+ protected int soTimeout = 30000;
+ protected int connectionTimeout = 60000;
+ protected boolean staleCheckingEnabled = false;
+ protected long timeToLive = 60; // seconds
+ protected int maxPerRoute = 256;
+ protected int maxTotal = 1024;
+ protected boolean sslHostVerificationEnabled = false;
+
+ protected HttpClient httpClient;
public static HttpClientFactory getInstance(ExtensionPointRegistry registry) {
UtilityExtensionPoint utilities = registry.getExtensionPoint(UtilityExtensionPoint.class);