Class HttpClientFeedFetcher

  • All Implemented Interfaces:
    FeedFetcher

    @Deprecated
    public class HttpClientFeedFetcher
    extends AbstractFeedFetcher
    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 detailed explanation.
    Author:
    Nick Lothian
    • Method Detail

      • setRetryHandler

        public void setRetryHandler​(org.apache.commons.httpclient.HttpMethodRetryHandler handler)
        Deprecated.
      • setConnectTimeout

        public void setConnectTimeout​(int timeout)
        Deprecated.
        Parameters:
        timeout - Sets the connect timeout for the HttpClient but using the URLConnection method name. Uses the HttpClientParams method setConnectionManagerTimeout instead of setConnectTimeout
      • getConnectTimeout

        public int getConnectTimeout()
        Deprecated.
        Returns:
        The currently used connect timeout for the HttpClient but using the URLConnection method name. Uses the HttpClientParams method getConnectionManagerTimeout instead of getConnectTimeout
      • setFeedInfoCache

        public void setFeedInfoCache​(FeedFetcherCache feedInfoCache)
        Deprecated.
      • setHttpClientParams

        public void setHttpClientParams​(org.apache.commons.httpclient.params.HttpClientParams httpClientParams)
        Deprecated.
      • getHttpClientParams

        public org.apache.commons.httpclient.params.HttpClientParams getHttpClientParams()
        Deprecated.
      • setReadTimeout

        public void setReadTimeout​(int timeout)
        Deprecated.
      • getReadTimeout

        public int getReadTimeout()
        Deprecated.
        Returns:
        timeout the read timeout for the URLConnection to a specified timeout, in milliseconds.
      • setCustomRequestHeaders

        public void setCustomRequestHeaders​(Map<String,​String> customRequestHeaders)
        Deprecated.
        Apply any request headers to the HTTP method call.
        Parameters:
        customRequestHeaders -