Class SardineFactory

java.lang.Object
com.github.sardine.SardineFactory

public final class SardineFactory extends Object
The perfect name for a class. Provides the static methods for working with the Sardine interface.
  • Method Details

    • begin

      public static Sardine begin()
      Default begin() for when you don't need anything but no authentication and default settings for SSL.
    • begin

      public static Sardine begin(String username, String password)
      Pass in a HTTP Auth username/password for being used with all connections
      Parameters:
      username - Use in authentication header credentials
      password - Use in authentication header credentials
    • begin

      public static Sardine begin(String username, String password, ProxySelector proxy)
      Parameters:
      username - Use in authentication header credentials
      password - Use in authentication header credentials
      proxy - Proxy configuration