Class BaseHttpRetrievalService

    • Constructor Detail

      • BaseHttpRetrievalService

        public BaseHttpRetrievalService()
        Deprecated.
    • Method Detail

      • get

        public HttpResponse get​(String url)
                         throws IOException
        Deprecated.
        Description copied from interface: HttpRetrievalService
        Retrieve a URL using the default HttpRequest settings for that URL. The equivalent of calling get(service.getDefaultRequestFor(url));
        Specified by:
        get in interface HttpRetrievalService
        Parameters:
        url - the URL to retrieve
        Returns:
        a response object encapsulating the result of the request
        Throws:
        IOException - if the retrieval fails
      • getDefaultRequestFor

        public HttpRequest getDefaultRequestFor​(String url)
        Deprecated.
        Description copied from interface: HttpRetrievalService
        Retrieve the default configured HttpRequest for a particular URL. Will come prepackaged with the configured system defaults for authentication, retrieval size and caching.
        Specified by:
        getDefaultRequestFor in interface HttpRetrievalService
        Parameters:
        url - the URL that is going to be retrieved
        Returns:
        the system default HttpRequest for that URL.
      • setBandanaManager

        public void setBandanaManager​(com.atlassian.bandana.BandanaManager bandanaManager)
        Deprecated.
      • setSettingsManager

        public void setSettingsManager​(SettingsManager settingsManager)
        Deprecated.