Skip to content

Commit 8988fbb

Browse files
committed
Deprecate some classes specific to HttpClient 3
These are intended to be removed in webarchive-commons 2. #78
1 parent 4bb03ba commit 8988fbb

8 files changed

+21
-1
lines changed

src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java

+2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@
7070
*
7171
* @author stack
7272
* @version $Revision$, $Date$
73+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
7374
*/
75+
@Deprecated
7476
public class HttpRecorderGetMethod extends GetMethod {
7577

7678
protected static Logger logger =

src/main/java/org/archive/httpclient/HttpRecorderMethod.java

+2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
*
3535
* @author stack
3636
* @version $Revision$, $Date$
37+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
3738
*/
39+
@Deprecated
3840
public class HttpRecorderMethod {
3941
protected static Logger logger =
4042
Logger.getLogger(HttpRecorderMethod.class.getName());

src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java

+2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
*
3737
* @author stack
3838
* @version $Date$ $Revision$
39+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
3940
*/
41+
@Deprecated
4042
public class HttpRecorderPostMethod extends PostMethod {
4143
/**
4244
* Instance of http recorder method.

src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
* with external mechanisms.
3333
*
3434
* @author gojomo
35+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
3536
*/
37+
@Deprecated
3638
public class SingleHttpConnectionManager extends SimpleHttpConnectionManager {
3739

3840
public SingleHttpConnectionManager() {

src/main/java/org/archive/httpclient/ThreadLocalHttpConnectionManager.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@
3636
*
3737
* <b>Java &gt;= 1.4 is recommended.</b>
3838
*
39-
* @author Christian Kohlschuetter
39+
* @author Christian Kohlschuetter
40+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
4041
*/
42+
@Deprecated
4143
public final class ThreadLocalHttpConnectionManager implements
4244
HttpConnectionManager {
4345

src/main/java/org/archive/util/binsearch/impl/HTTPSeekableLineReaderFactory.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ protected HTTPSeekableLineReaderFactory()
2020

2121
public enum HttpLibs
2222
{
23+
@Deprecated
2324
APACHE_31,
2425
APACHE_43,
2526
URLCONN,

src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLR.java

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
import org.apache.commons.io.input.CountingInputStream;
1515
import org.archive.util.binsearch.impl.HTTPSeekableLineReader;
1616

17+
/**
18+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
19+
*/
20+
@Deprecated
1721
public class ApacheHttp31SLR extends HTTPSeekableLineReader {
1822

1923
private HttpClient http;

src/main/java/org/archive/util/binsearch/impl/http/ApacheHttp31SLRFactory.java

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
import org.archive.util.binsearch.impl.HTTPSeekableLineReader;
1616
import org.archive.util.binsearch.impl.HTTPSeekableLineReaderFactory;
1717

18+
/**
19+
*
20+
* @deprecated Commons HttpClient 3 is end of life, this will be removed in webarchive-commons 2.0
21+
*/
22+
@Deprecated
1823
public class ApacheHttp31SLRFactory extends HTTPSeekableLineReaderFactory {
1924
private final static Logger LOGGER = Logger.getLogger(ApacheHttp31SLRFactory.class.getName());
2025

0 commit comments

Comments
 (0)