You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2018/10/21 11:42:31 UTC

[2/3] httpcomponents-client git commit: Javadoc cleanup

Javadoc cleanup


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/commit/8ebb6295
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/tree/8ebb6295
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/diff/8ebb6295

Branch: refs/heads/master
Commit: 8ebb629563b82e468f7f745ce9f3e37807a3a5a1
Parents: ab7be3f
Author: Oleg Kalnichevski <ol...@apache.org>
Authored: Sun Oct 21 13:34:45 2018 +0200
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Sun Oct 21 13:34:45 2018 +0200

----------------------------------------------------------------------
 .../apache/hc/client5/http/impl/DefaultRedirectStrategy.java   | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-client/blob/8ebb6295/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultRedirectStrategy.java
----------------------------------------------------------------------
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultRedirectStrategy.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultRedirectStrategy.java
index 54c9048..a86ab32 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultRedirectStrategy.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultRedirectStrategy.java
@@ -48,11 +48,7 @@ import org.apache.hc.core5.util.Args;
 import org.apache.hc.core5.util.TextUtils;
 
 /**
- * Default implementation of {@link RedirectStrategy}. This strategy honors the restrictions
- * on automatic redirection of unsafe methods such as POST, PUT and DELETE imposed by
- * the HTTP specification. Non safe methods will be redirected as GET in response to
- * status code {@link HttpStatus#SC_MOVED_PERMANENTLY}, {@link HttpStatus#SC_MOVED_TEMPORARILY}
- * and {@link HttpStatus#SC_SEE_OTHER}.
+ * Default implementation of {@link RedirectStrategy}.
  *
  * @since 4.1
  */