Class BaseHttpRetrievalService

    • Field Detail

      • bandanaManager

        protected com.atlassian.bandana.BandanaManager bandanaManager
        Deprecated, for removal: This API element is subject to removal in a future version.
      • outboundWhitelist

        protected com.atlassian.plugins.whitelist.OutboundWhitelist outboundWhitelist
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • BaseHttpRetrievalService

        public BaseHttpRetrievalService()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • get

        public HttpResponse get​(String url)
                         throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        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, for removal: This API element is subject to removal in a future version.
        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.
      • getConnectionParameters

        public ConfluenceHttpParameters getConnectionParameters()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setBandanaManager

        public void setBandanaManager​(com.atlassian.bandana.BandanaManager bandanaManager)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSettingsManager

        public void setSettingsManager​(SettingsManager settingsManager)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setOutboundWhitelist

        public void setOutboundWhitelist​(com.atlassian.plugins.whitelist.OutboundWhitelist outboundWhitelist)
        Deprecated, for removal: This API element is subject to removal in a future version.