Skip to content

Commit

Permalink
Deprecate some classes specific to HttpClient 3
Browse files Browse the repository at this point in the history
These are intended to be removed in webarchive-commons 2. #78
  • Loading branch information
ato committed Dec 4, 2024
1 parent 4bb03ba commit 8988fbb
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/archive/httpclient/HttpRecorderMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
*
* <b>Java &gt;= 1.4 is recommended.</b>
*
* @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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ protected HTTPSeekableLineReaderFactory()

public enum HttpLibs
{
@Deprecated
APACHE_31,
APACHE_43,
URLCONN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 8988fbb

Please sign in to comment.