#276 added deprecation notice to rome-fetcher
This commit is contained in:
parent
b718922a53
commit
fdffe7d315
14 changed files with 58 additions and 3 deletions
|
@ -22,6 +22,11 @@ import java.net.URL;
|
||||||
import com.rometools.rome.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
import com.rometools.rome.io.FeedException;
|
import com.rometools.rome.io.FeedException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FeedFetcher {
|
public interface FeedFetcher {
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
|
|
@ -10,7 +10,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* fields final.
|
* fields final.
|
||||||
*
|
*
|
||||||
* @author nl
|
* @author nl
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class FetcherEvent extends EventObject {
|
public class FetcherEvent extends EventObject {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -19,7 +19,10 @@ package com.rometools.fetcher;
|
||||||
/**
|
/**
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class FetcherException extends Exception {
|
public class FetcherException extends Exception {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,11 @@ package com.rometools.fetcher;
|
||||||
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FetcherListener extends EventListener {
|
public interface FetcherListener extends EventListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -34,6 +34,11 @@ import com.rometools.fetcher.FetcherException;
|
||||||
import com.rometools.fetcher.FetcherListener;
|
import com.rometools.fetcher.FetcherListener;
|
||||||
import com.rometools.rome.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractFeedFetcher implements FeedFetcher {
|
public abstract class AbstractFeedFetcher implements FeedFetcher {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);
|
||||||
|
|
|
@ -7,6 +7,11 @@ import java.lang.reflect.Method;
|
||||||
import com.rometools.fetcher.FetcherEvent;
|
import com.rometools.fetcher.FetcherEvent;
|
||||||
import com.rometools.fetcher.FetcherListener;
|
import com.rometools.fetcher.FetcherListener;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
|
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -28,7 +28,11 @@ import com.rometools.utils.IO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disk based feed cache.
|
* Disk based feed cache.
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class DiskFeedInfoCache implements FeedFetcherCache {
|
public class DiskFeedInfoCache implements FeedFetcherCache {
|
||||||
|
|
||||||
protected String cachePath = null;
|
protected String cachePath = null;
|
||||||
|
|
|
@ -25,8 +25,11 @@ import java.net.URL;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FeedFetcherCache {
|
public interface FeedFetcherCache {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,8 +35,11 @@ import java.util.Map;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {
|
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -46,7 +46,11 @@ import com.rometools.utils.IO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated HttpClient v3 is known to have some security vulnerabilities! In addition ROME Fetcher will be dropped in the next major version of ROME (version 2).
|
||||||
|
* For more information and some migration hints, please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
private CredentialSupplier credentialSupplier;
|
private CredentialSupplier credentialSupplier;
|
||||||
|
|
|
@ -68,7 +68,11 @@ import com.rometools.utils.IO;
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
|
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
private volatile int connectTimeout = -1;
|
private volatile int connectTimeout = -1;
|
||||||
|
|
|
@ -16,7 +16,10 @@ import java.util.Map;
|
||||||
* @author Javier Kohen
|
* @author Javier Kohen
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
|
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
|
||||||
|
|
||||||
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
|
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
|
||||||
|
|
|
@ -22,8 +22,11 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class to help deal with HTTP responses
|
* Utility class to help deal with HTTP responses
|
||||||
*
|
* *
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ResponseHandler {
|
public class ResponseHandler {
|
||||||
public static final String defaultCharacterEncoding = "ISO-8859-1";
|
public static final String defaultCharacterEncoding = "ISO-8859-1";
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class SyndFeedInfo implements Cloneable, Serializable {
|
public class SyndFeedInfo implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue