org.apache.commons.vfs2.provider.http5.@Deprecated 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)
Deprecated.
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)
Deprecated.
Creates an HttpClient.
|
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
scheme - The host scheme.hostname - The host name or IP address.port - The host port.username - The user name.password - The user password.fileSystemOptions - The file system options.FileSystemException - if an error occurs.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.