Class HttpClientFactory
java.lang.Object
org.apache.commons.vfs2.provider.http.HttpClientFactory
Deprecated.
Create a HttpClient instance.
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.commons.httpclient.HttpClientcreateConnection(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates an HttpClient.static org.apache.commons.httpclient.HttpClientcreateConnection(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates a new connection to the server.
- 
Method Details- 
createConnectionpublic static org.apache.commons.httpclient.HttpClient createConnection(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) throws FileSystemException Deprecated.Creates a new connection to the server.- Parameters:
- builder- The HttpFileSystemConfigBuilder.
- scheme- The protocol.
- hostname- The hostname.
- port- The port number.
- username- The username.
- password- The password
- fileSystemOptions- The file system options.
- Returns:
- a new HttpClient connection.
- Throws:
- FileSystemException- if an error occurs.
- Since:
- 2.0
 
- 
createConnectionpublic static org.apache.commons.httpclient.HttpClient createConnection(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) throws FileSystemException Deprecated.Creates an HttpClient.- Parameters:
- 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.
- Returns:
- a new HttpClient connection.
- Throws:
- FileSystemException- if an error occurs.
 
 
- 
org.apache.commons.vfs2.provider.http5.