minor javadoc change
This commit is contained in:
@@ -77,23 +77,18 @@ public class FeedEntryMessageSource extends IntegrationObjectSupport implements
|
|||||||
|
|
||||||
private final Object feedMonitor = new Object();
|
private final Object feedMonitor = new Object();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Will create a default HttpURLFeedFetcher. If URL is other then http*
|
* Creates a FeedEntryMessageSource that will use a HttpURLFeedFetcher to read feeds from the given URL.
|
||||||
* then consider providing custom implementation of the {@link FeedFetcher}
|
* If the feed URL has a protocol other than http*, consider providing a custom implementation of the
|
||||||
* and use the other constructor.
|
* {@link FeedFetcher} via the alternate constructor.
|
||||||
* @param feedUrl
|
|
||||||
*/
|
*/
|
||||||
public FeedEntryMessageSource(URL feedUrl) {
|
public FeedEntryMessageSource(URL feedUrl) {
|
||||||
this(feedUrl, new HttpURLFeedFetcher(HashMapFeedInfoCache.getInstance()));
|
this(feedUrl, new HttpURLFeedFetcher(HashMapFeedInfoCache.getInstance()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Will allow you to provide not only URL but the custom implementation
|
* Creates a FeedEntryMessageSource that will use the provided FeedFetcher to read from the given feed URL.
|
||||||
* of the {@link FeedFetcher}
|
|
||||||
* @param feedUrl
|
|
||||||
* @param feedFetcher
|
|
||||||
*/
|
*/
|
||||||
public FeedEntryMessageSource(URL feedUrl, FeedFetcher feedFetcher) {
|
public FeedEntryMessageSource(URL feedUrl, FeedFetcher feedFetcher) {
|
||||||
Assert.notNull(feedUrl, "feedUrl must not be null");
|
Assert.notNull(feedUrl, "feedUrl must not be null");
|
||||||
|
|||||||
Reference in New Issue
Block a user