Merge pull request #277 from rometools/ROME-276-fetcher-removal
#276 added deprecation notice to rome-fetcher
This commit is contained in:
commit
91da3003a1
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.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 {
|
||||
/**
|
||||
* <p>
|
||||
|
|
|
@ -10,7 +10,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
|||
* fields final.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -19,7 +19,10 @@ package com.rometools.fetcher;
|
|||
/**
|
||||
* @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 {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -2,6 +2,11 @@ package com.rometools.fetcher;
|
|||
|
||||
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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -34,6 +34,11 @@ import com.rometools.fetcher.FetcherException;
|
|||
import com.rometools.fetcher.FetcherListener;
|
||||
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 {
|
||||
|
||||
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.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 {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,11 @@ import com.rometools.utils.IO;
|
|||
|
||||
/**
|
||||
* 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 {
|
||||
|
||||
protected String cachePath = null;
|
||||
|
|
|
@ -25,8 +25,11 @@ import java.net.URL;
|
|||
* </p>
|
||||
*
|
||||
* @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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,8 +35,11 @@ import java.util.Map;
|
|||
* </p>
|
||||
*
|
||||
* @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 {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -46,7 +46,11 @@ import com.rometools.utils.IO;
|
|||
|
||||
/**
|
||||
* @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 {
|
||||
|
||||
private CredentialSupplier credentialSupplier;
|
||||
|
|
|
@ -68,7 +68,11 @@ import com.rometools.utils.IO;
|
|||
* @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>
|
||||
* @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 {
|
||||
|
||||
private volatile int connectTimeout = -1;
|
||||
|
|
|
@ -16,7 +16,10 @@ import java.util.Map;
|
|||
* @author Javier Kohen
|
||||
* @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 {
|
||||
|
||||
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
|
||||
*
|
||||
* *
|
||||
* @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 static final String defaultCharacterEncoding = "ISO-8859-1";
|
||||
|
||||
|
|
|
@ -33,7 +33,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
|||
* </p>
|
||||
*
|
||||
* @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 {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
Loading…
Reference in a new issue