public final class HttpClientFactory extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static org.apache.commons.httpclient.HttpClient |
createConnection(java.lang.String scheme,
java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
FileSystemOptions fileSystemOptions) |
|
static org.apache.commons.httpclient.HttpClient |
createConnection(HttpFileSystemConfigBuilder builder,
java.lang.String scheme,
java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
FileSystemOptions fileSystemOptions) |
Creates a new connection to the server.
|
public static org.apache.commons.httpclient.HttpClient createConnection(java.lang.String scheme, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
public static org.apache.commons.httpclient.HttpClient createConnection(HttpFileSystemConfigBuilder builder, java.lang.String scheme, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, FileSystemOptions fileSystemOptions) throws FileSystemException
builder
- The HttpFileSystemConfigBuilder.scheme
- The protocol.hostname
- The hostname.port
- The port number.username
- The username.password
- The passwordfileSystemOptions
- The file system options.FileSystemException
- if an error occurs.