public final class HttpClientFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.httpclient.HttpClient |
createConnection(HttpFileSystemConfigBuilder builder,
String scheme,
String hostname,
int port,
String username,
String password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
static org.apache.commons.httpclient.HttpClient |
createConnection(String scheme,
String hostname,
int port,
String username,
String password,
FileSystemOptions fileSystemOptions) |
public static org.apache.commons.httpclient.HttpClient createConnection(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, 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.public static org.apache.commons.httpclient.HttpClient createConnection(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.