public final class SardineFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static Sardine |
begin()
Default begin() for when you don't need anything but no authentication
and default settings for SSL.
|
static Sardine |
begin(String username,
String password)
Pass in a HTTP Auth username/password for being used with all
connections
|
static Sardine |
begin(String username,
String password,
ProxySelector proxy) |
public static Sardine begin()
public static Sardine begin(String username, String password)
username - Use in authentication header credentialspassword - Use in authentication header credentialspublic static Sardine begin(String username, String password, ProxySelector proxy)
username - Use in authentication header credentialspassword - Use in authentication header credentialsproxy - Proxy configurationCopyright © 2019. All rights reserved.