You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2015/05/19 12:14:40 UTC
[4/6] incubator-slider git commit: SLIDER-878 re-enable Jersey method
workaround option in AMClient
SLIDER-878 re-enable Jersey method workaround option in AMClient
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/f1efe763
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/f1efe763
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/f1efe763
Branch: refs/heads/develop
Commit: f1efe763eb426398669e00ff2a2b4a84651adfd2
Parents: 13ec0af
Author: Steve Loughran <st...@apache.org>
Authored: Tue May 19 10:40:38 2015 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Tue May 19 10:40:38 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/slider/core/registry/retrieve/AMWebClient.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/f1efe763/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java b/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java
index 605b46c..dd9af16 100644
--- a/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java
+++ b/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java
@@ -55,11 +55,9 @@ public class AMWebClient {
clientConfig.getFeatures().put(
JSONConfiguration.FEATURE_POJO_MAPPING,
Boolean.TRUE);
-/*
clientConfig.getProperties().put(
URLConnectionClientHandler.PROPERTY_HTTP_URL_CONNECTION_SET_METHOD_WORKAROUND,
true);
-*/
URLConnectionClientHandler handler = getUrlConnectionClientHandler();
client = new Client(handler, clientConfig);
client.setFollowRedirects(true);