org.sonar.api.utils
Class HttpDownloader.BaseHttpDownloader

java.lang.Object
  extended by org.sonar.api.utils.HttpDownloader.BaseHttpDownloader
Enclosing class:
HttpDownloader

public static class HttpDownloader.BaseHttpDownloader
extends Object


Constructor Summary
HttpDownloader.BaseHttpDownloader(Map<String,String> settings, String userAgent)
           
 
Method Summary
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, Integer readTimeoutMillis)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, String requestMethod, Integer readTimeoutMillis)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, String login, String password)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, String login, String password, Integer readTimeoutMillis)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, String requestMethod, String login, String password)
           
 com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri, String requestMethod, String login, String password, Integer readTimeoutMillis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDownloader.BaseHttpDownloader

public HttpDownloader.BaseHttpDownloader(Map<String,String> settings,
                                         @Nullable
                                         String userAgent)
Method Detail

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri)

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        @Nullable
                                                                        Integer readTimeoutMillis)

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        String requestMethod,
                                                                        @Nullable
                                                                        Integer readTimeoutMillis)

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        String login,
                                                                        String password)

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        String requestMethod,
                                                                        String login,
                                                                        String password)
Since:
5.0

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        String login,
                                                                        String password,
                                                                        @Nullable
                                                                        Integer readTimeoutMillis)

newInputSupplier

public com.google.common.io.InputSupplier<InputStream> newInputSupplier(URI uri,
                                                                        String requestMethod,
                                                                        String login,
                                                                        String password,
                                                                        @Nullable
                                                                        Integer readTimeoutMillis)
Since:
5.0


Copyright © 2009–2015 SonarSource. All rights reserved.