summaryrefslogtreecommitdiffstats
path: root/src/org/apache/http/impl/auth
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/http/impl/auth')
-rw-r--r--src/org/apache/http/impl/auth/AuthSchemeBase.java5
-rw-r--r--src/org/apache/http/impl/auth/BasicScheme.java5
-rw-r--r--src/org/apache/http/impl/auth/BasicSchemeFactory.java5
-rw-r--r--src/org/apache/http/impl/auth/DigestScheme.java5
-rw-r--r--src/org/apache/http/impl/auth/DigestSchemeFactory.java5
-rw-r--r--src/org/apache/http/impl/auth/NTLMEngine.java5
-rw-r--r--src/org/apache/http/impl/auth/NTLMEngineException.java5
-rw-r--r--src/org/apache/http/impl/auth/NTLMScheme.java6
-rw-r--r--src/org/apache/http/impl/auth/RFC2617Scheme.java5
-rw-r--r--src/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java5
10 files changed, 51 insertions, 0 deletions
diff --git a/src/org/apache/http/impl/auth/AuthSchemeBase.java b/src/org/apache/http/impl/auth/AuthSchemeBase.java
index 689ce5d..ae33825 100644
--- a/src/org/apache/http/impl/auth/AuthSchemeBase.java
+++ b/src/org/apache/http/impl/auth/AuthSchemeBase.java
@@ -46,7 +46,12 @@ import org.apache.http.util.CharArrayBuffer;
* nor does it impose any specific way of responding to that challenge.
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public abstract class AuthSchemeBase implements AuthScheme {
/**
diff --git a/src/org/apache/http/impl/auth/BasicScheme.java b/src/org/apache/http/impl/auth/BasicScheme.java
index 88ea110..0490d88 100644
--- a/src/org/apache/http/impl/auth/BasicScheme.java
+++ b/src/org/apache/http/impl/auth/BasicScheme.java
@@ -57,8 +57,13 @@ import org.apache.http.util.EncodingUtils;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class BasicScheme extends RFC2617Scheme {
/** Whether the basic authentication process is complete */
diff --git a/src/org/apache/http/impl/auth/BasicSchemeFactory.java b/src/org/apache/http/impl/auth/BasicSchemeFactory.java
index c5d28b0..3a7ef83 100644
--- a/src/org/apache/http/impl/auth/BasicSchemeFactory.java
+++ b/src/org/apache/http/impl/auth/BasicSchemeFactory.java
@@ -40,7 +40,12 @@ import org.apache.http.params.HttpParams;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class BasicSchemeFactory implements AuthSchemeFactory {
public AuthScheme newInstance(final HttpParams params) {
diff --git a/src/org/apache/http/impl/auth/DigestScheme.java b/src/org/apache/http/impl/auth/DigestScheme.java
index cae05ee..63f1aaf 100644
--- a/src/org/apache/http/impl/auth/DigestScheme.java
+++ b/src/org/apache/http/impl/auth/DigestScheme.java
@@ -77,8 +77,13 @@ import org.apache.http.util.EncodingUtils;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class DigestScheme extends RFC2617Scheme {
/**
diff --git a/src/org/apache/http/impl/auth/DigestSchemeFactory.java b/src/org/apache/http/impl/auth/DigestSchemeFactory.java
index 38f2e12..9bb4fa3 100644
--- a/src/org/apache/http/impl/auth/DigestSchemeFactory.java
+++ b/src/org/apache/http/impl/auth/DigestSchemeFactory.java
@@ -40,7 +40,12 @@ import org.apache.http.params.HttpParams;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class DigestSchemeFactory implements AuthSchemeFactory {
public AuthScheme newInstance(final HttpParams params) {
diff --git a/src/org/apache/http/impl/auth/NTLMEngine.java b/src/org/apache/http/impl/auth/NTLMEngine.java
index 7b6bf42..a7b072b 100644
--- a/src/org/apache/http/impl/auth/NTLMEngine.java
+++ b/src/org/apache/http/impl/auth/NTLMEngine.java
@@ -38,7 +38,12 @@ package org.apache.http.impl.auth;
* For details see <a href="http://davenport.sourceforge.net/ntlm.html">this resource</a>
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public interface NTLMEngine {
/**
diff --git a/src/org/apache/http/impl/auth/NTLMEngineException.java b/src/org/apache/http/impl/auth/NTLMEngineException.java
index 73baabc..5f66eae 100644
--- a/src/org/apache/http/impl/auth/NTLMEngineException.java
+++ b/src/org/apache/http/impl/auth/NTLMEngineException.java
@@ -38,7 +38,12 @@ import org.apache.http.auth.AuthenticationException;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class NTLMEngineException extends AuthenticationException {
private static final long serialVersionUID = 6027981323731768824L;
diff --git a/src/org/apache/http/impl/auth/NTLMScheme.java b/src/org/apache/http/impl/auth/NTLMScheme.java
index 8dfdbba..5e91ca7 100644
--- a/src/org/apache/http/impl/auth/NTLMScheme.java
+++ b/src/org/apache/http/impl/auth/NTLMScheme.java
@@ -41,7 +41,13 @@ import org.apache.http.auth.NTCredentials;
import org.apache.http.impl.auth.AuthSchemeBase;
import org.apache.http.message.BufferedHeader;
import org.apache.http.util.CharArrayBuffer;
+/**
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
+*/
+@Deprecated
public class NTLMScheme extends AuthSchemeBase {
enum State {
diff --git a/src/org/apache/http/impl/auth/RFC2617Scheme.java b/src/org/apache/http/impl/auth/RFC2617Scheme.java
index 0ed0a28..5899322 100644
--- a/src/org/apache/http/impl/auth/RFC2617Scheme.java
+++ b/src/org/apache/http/impl/auth/RFC2617Scheme.java
@@ -47,7 +47,12 @@ import org.apache.http.util.CharArrayBuffer;
* to all authentication schemes defined in RFC 2617.
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public abstract class RFC2617Scheme extends AuthSchemeBase {
/**
diff --git a/src/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java b/src/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java
index abd0a66..5d06288 100644
--- a/src/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java
+++ b/src/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java
@@ -37,7 +37,12 @@ package org.apache.http.impl.auth;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 4.0
+ *
+ * @deprecated Please use {@link java.net.URL#openConnection} instead.
+ * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
+ * for further details.
*/
+@Deprecated
public class UnsupportedDigestAlgorithmException extends RuntimeException {
private static final long serialVersionUID = 319558534317118022L;