public class XWikiFeedFetcher
extends com.sun.syndication.fetcher.impl.AbstractFeedFetcher
Modifier and Type | Class and Description |
---|---|
static interface |
XWikiFeedFetcher.CredentialSupplier |
Constructor and Description |
---|
XWikiFeedFetcher() |
XWikiFeedFetcher(com.sun.syndication.fetcher.impl.FeedFetcherCache cache) |
XWikiFeedFetcher(com.sun.syndication.fetcher.impl.FeedFetcherCache cache,
XWikiFeedFetcher.CredentialSupplier credentialSupplier) |
Modifier and Type | Method and Description |
---|---|
XWikiFeedFetcher.CredentialSupplier |
getCredentialSupplier() |
com.sun.syndication.fetcher.impl.FeedFetcherCache |
getFeedInfoCache() |
com.sun.syndication.feed.synd.SyndFeed |
retrieveFeed(URL feedUrl) |
com.sun.syndication.feed.synd.SyndFeed |
retrieveFeed(URL feedUrl,
int timeout) |
void |
setCredentialSupplier(XWikiFeedFetcher.CredentialSupplier credentialSupplier) |
void |
setFeedInfoCache(com.sun.syndication.fetcher.impl.FeedFetcherCache feedInfoCache) |
addFetcherEventListener, combineFeeds, fireEvent, fireEvent, fireEvent, fireEvent, getUserAgent, handleErrorCodes, isPreserveWireFeed, isUsingDeltaEncoding, removeFetcherEventListener, setPreserveWireFeed, setUserAgent, setUsingDeltaEncoding, throw4XXError, throwAuthenticationError
public XWikiFeedFetcher()
public XWikiFeedFetcher(com.sun.syndication.fetcher.impl.FeedFetcherCache cache)
cache
- public XWikiFeedFetcher(com.sun.syndication.fetcher.impl.FeedFetcherCache cache, XWikiFeedFetcher.CredentialSupplier credentialSupplier)
public com.sun.syndication.fetcher.impl.FeedFetcherCache getFeedInfoCache()
public void setFeedInfoCache(com.sun.syndication.fetcher.impl.FeedFetcherCache feedInfoCache)
feedInfoCache
- the feedInfoCache to setpublic XWikiFeedFetcher.CredentialSupplier getCredentialSupplier()
public void setCredentialSupplier(XWikiFeedFetcher.CredentialSupplier credentialSupplier)
credentialSupplier
- The credentialSupplier to set.public com.sun.syndication.feed.synd.SyndFeed retrieveFeed(URL feedUrl) throws IllegalArgumentException, IOException, com.sun.syndication.io.FeedException, com.sun.syndication.fetcher.FetcherException
IllegalArgumentException
IOException
com.sun.syndication.io.FeedException
com.sun.syndication.fetcher.FetcherException
public com.sun.syndication.feed.synd.SyndFeed retrieveFeed(URL feedUrl, int timeout) throws IllegalArgumentException, IOException, com.sun.syndication.io.FeedException, com.sun.syndication.fetcher.FetcherException
IllegalArgumentException
IOException
com.sun.syndication.io.FeedException
com.sun.syndication.fetcher.FetcherException
FeedFetcher.retrieveFeed(java.net.URL)
Copyright © 2004–2021 XWiki. All rights reserved.