diff --git a/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java b/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java index ef241b48..1a94af1f 100644 --- a/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java +++ b/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java @@ -70,7 +70,9 @@ * * @author stack * @version $Revision$, $Date$ + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 */ +@Deprecated public class HttpRecorderGetMethod extends GetMethod { protected static Logger logger = diff --git a/src/main/java/org/archive/httpclient/HttpRecorderMethod.java b/src/main/java/org/archive/httpclient/HttpRecorderMethod.java index 932e7e98..b08bc0bd 100644 --- a/src/main/java/org/archive/httpclient/HttpRecorderMethod.java +++ b/src/main/java/org/archive/httpclient/HttpRecorderMethod.java @@ -34,7 +34,9 @@ * * @author stack * @version $Revision$, $Date$ + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 */ +@Deprecated public class HttpRecorderMethod { protected static Logger logger = Logger.getLogger(HttpRecorderMethod.class.getName()); diff --git a/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java b/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java index 20f1bfd1..d55d816a 100644 --- a/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java +++ b/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java @@ -36,7 +36,9 @@ * * @author stack * @version $Date$ $Revision$ + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 */ +@Deprecated public class HttpRecorderPostMethod extends PostMethod { /** * Instance of http recorder method. diff --git a/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java b/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java index 4ba6a837..d6cf27ab 100644 --- a/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java +++ b/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java @@ -32,7 +32,9 @@ * with external mechanisms. * * @author gojomo + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 */ +@Deprecated public class SingleHttpConnectionManager extends SimpleHttpConnectionManager { public SingleHttpConnectionManager() { diff --git a/src/main/java/org/archive/httpclient/ThreadLocalHttpConnectionManager.java b/src/main/java/org/archive/httpclient/ThreadLocalHttpConnectionManager.java index 91e850ea..16821b36 100644 --- a/src/main/java/org/archive/httpclient/ThreadLocalHttpConnectionManager.java +++ b/src/main/java/org/archive/httpclient/ThreadLocalHttpConnectionManager.java @@ -36,8 +36,10 @@ * * Java >= 1.4 is recommended. * - * @author Christian Kohlschuetter + * @author Christian Kohlschuetter + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 */ +@Deprecated public final class ThreadLocalHttpConnectionManager implements HttpConnectionManager { diff --git a/src/main/java/org/archive/util/binsearch/impl/HTTPSeekableLineReaderFactory.java b/src/main/java/org/archive/util/binsearch/impl/HTTPSeekableLineReaderFactory.java index b4a23db0..68ee6551 100644 --- a/src/main/java/org/archive/util/binsearch/impl/HTTPSeekableLineReaderFactory.java +++ b/src/main/java/org/archive/util/binsearch/impl/HTTPSeekableLineReaderFactory.java @@ -20,6 +20,7 @@ protected HTTPSeekableLineReaderFactory() public enum HttpLibs { + @Deprecated APACHE_31, APACHE_43, URLCONN, diff --git a/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLR.java b/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLR.java index c4fdbba8..124d3d03 100644 --- a/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLR.java +++ b/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLR.java @@ -14,6 +14,10 @@ import org.apache.commons.io.input.CountingInputStream; import org.archive.util.binsearch.impl.HTTPSeekableLineReader; +/** + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 + */ +@Deprecated public class ApacheHttp31SLR extends HTTPSeekableLineReader { private HttpClient http; diff --git a/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLRFactory.java b/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLRFactory.java index bc5b83f4..2af03dab 100644 --- a/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLRFactory.java +++ b/src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLRFactory.java @@ -15,6 +15,11 @@ import org.archive.util.binsearch.impl.HTTPSeekableLineReader; import org.archive.util.binsearch.impl.HTTPSeekableLineReaderFactory; +/** + * + * @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0 + */ +@Deprecated public class ApacheHttp31SLRFactory extends HTTPSeekableLineReaderFactory { private final static Logger LOGGER = Logger.getLogger(ApacheHttp31SLRFactory.class.getName());