| java.lang.Object |
| ↳ |
com.sun.syndication.fetcher.impl.AbstractFeedFetcher |
| |
↳ |
com.sun.syndication.fetcher.impl.HttpClientFeedFetcher |
| |
|
↳ |
org.mule.module.pubsubhubbub.rome.PerRequestUserAgentHttpClientFeedFetcher |
Class Overview
Supports per-request user agent setting, via a thread local.
Summary
|
[Expand]
Inherited Constants |
From interface
com.sun.syndication.fetcher.FeedFetcher
| String |
DEFAULT_USER_AGENT |
|
|
|
[Expand]
Inherited Fields |
From class
com.sun.syndication.fetcher.impl.HttpClientFeedFetcher
|
private
HttpClientFeedFetcher.CredentialSupplier |
credentialSupplier |
|
|
private
FeedFetcherCache |
feedInfoCache |
|
|
private
HttpClientFeedFetcher.HttpClientMethodCallbackIntf |
httpClientMethodCallback |
|
|
private
HttpClientParams |
httpClientParams |
|
|
From class
com.sun.syndication.fetcher.impl.AbstractFeedFetcher
|
private
final
Set |
fetcherEventListeners |
|
|
private
boolean |
preserveWireFeed |
|
|
private
String |
userAgent |
|
|
private
boolean |
usingDeltaEncoding |
|
|
|
[Expand]
Inherited Methods |
From class
com.sun.syndication.fetcher.impl.HttpClientFeedFetcher
|
int
|
getConnectTimeout()
|
|
synchronized
HttpClientFeedFetcher.CredentialSupplier
|
getCredentialSupplier()
|
|
synchronized
FeedFetcherCache
|
getFeedInfoCache()
|
|
HttpClientFeedFetcher.HttpClientMethodCallbackIntf
|
getHttpClientMethodCallback()
|
|
synchronized
HttpClientParams
|
getHttpClientParams()
|
|
int
|
getReadTimeout()
|
|
SyndFeed
|
retrieveFeed(URL arg0)
|
|
synchronized
void
|
setConnectTimeout(int arg0)
|
|
synchronized
void
|
setCredentialSupplier(HttpClientFeedFetcher.CredentialSupplier arg0)
|
|
synchronized
void
|
setFeedInfoCache(FeedFetcherCache arg0)
|
|
synchronized
void
|
setHttpClientMethodCallback(HttpClientFeedFetcher.HttpClientMethodCallbackIntf arg0)
|
|
synchronized
void
|
setHttpClientParams(HttpClientParams arg0)
|
|
synchronized
void
|
setReadTimeout(int arg0)
|
|
From class
com.sun.syndication.fetcher.impl.AbstractFeedFetcher
|
void
|
addFetcherEventListener(FetcherListener arg0)
|
|
static
SyndFeed
|
combineFeeds(SyndFeed arg0, SyndFeed arg1)
|
|
void
|
fireEvent(String arg0, URLConnection arg1)
|
|
void
|
fireEvent(String arg0, URLConnection arg1, SyndFeed arg2)
|
|
void
|
fireEvent(String arg0, String arg1, SyndFeed arg2)
|
|
void
|
fireEvent(String arg0, String arg1)
|
|
synchronized
String
|
getUserAgent()
|
|
void
|
handleErrorCodes(int arg0)
|
|
boolean
|
isPreserveWireFeed()
|
|
synchronized
boolean
|
isUsingDeltaEncoding()
|
|
void
|
removeFetcherEventListener(FetcherListener arg0)
|
|
void
|
setPreserveWireFeed(boolean arg0)
|
|
synchronized
void
|
setUserAgent(String arg0)
|
|
synchronized
void
|
setUsingDeltaEncoding(boolean arg0)
|
|
void
|
throw4XXError(int arg0)
|
|
void
|
throwAuthenticationError(int arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.sun.syndication.fetcher.FeedFetcher
|
abstract
void
|
addFetcherEventListener(FetcherListener arg0)
|
|
abstract
String
|
getUserAgent()
|
|
abstract
boolean
|
isUsingDeltaEncoding()
|
|
abstract
void
|
removeFetcherEventListener(FetcherListener arg0)
|
|
abstract
SyndFeed
|
retrieveFeed(URL arg0)
|
|
abstract
void
|
setPreserveWireFeed(boolean arg0)
|
|
abstract
void
|
setUserAgent(String arg0)
|
|
abstract
void
|
setUsingDeltaEncoding(boolean arg0)
|
|
Fields
private
static
final
ThreadLocal<String>
REQUEST_USER_AGENT
Public Constructors
public
PerRequestUserAgentHttpClientFeedFetcher
(FeedFetcherCache cache)
Public Methods
public
synchronized
String
getUserAgent
()
public
static
void
removeRequestUserAgent
()
public
static
void
setRequestUserAgent
(String requestUserAgent)