public class HttpFileSystemConfigBuilder extends FileSystemConfigBuilder
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class |
getConfigClass() |
org.apache.commons.httpclient.Cookie[] |
getCookies(FileSystemOptions opts)
The cookies to add to the reqest
|
static HttpFileSystemConfigBuilder |
getInstance() |
UserAuthenticator |
getProxyAuthenticator(FileSystemOptions opts)
Get the proxy authenticator where the system should get the credentials from
|
java.lang.String |
getProxyHost(FileSystemOptions opts)
Get the proxy to use for http connection
You have to set the ProxyPort too if you would like to have the proxy relly used.
|
int |
getProxyPort(FileSystemOptions opts)
Get the proxy-port to use for http the connection
You have to set the ProxyHost too if you would like to have the proxy relly used.
|
java.lang.String |
getUrlCharset(FileSystemOptions opts)
Set the charset used for url encoding
|
void |
setCookies(FileSystemOptions opts,
org.apache.commons.httpclient.Cookie[] cookies)
The cookies to add to the reqest
|
void |
setProxyAuthenticator(FileSystemOptions opts,
UserAuthenticator authenticator)
Set the proxy authenticator where the system should get the credentials from
|
void |
setProxyHost(FileSystemOptions opts,
java.lang.String proxyHost)
Set the proxy to use for http connection.
You have to set the ProxyPort too if you would like to have the proxy relly used. |
void |
setProxyPort(FileSystemOptions opts,
int proxyPort)
Set the proxy-port to use for http connection
You have to set the ProxyHost too if you would like to have the proxy relly used.
|
void |
setUrlCharset(FileSystemOptions opts,
java.lang.String chaset)
Set the charset used for url encoding
|
getParam, hasParam, setParam
public static HttpFileSystemConfigBuilder getInstance()
public void setUrlCharset(FileSystemOptions opts, java.lang.String chaset)
chaset
- the chasetpublic java.lang.String getUrlCharset(FileSystemOptions opts)
public void setProxyHost(FileSystemOptions opts, java.lang.String proxyHost)
proxyHost
- the hostsetProxyPort(org.apache.commons.vfs.FileSystemOptions, int)
public void setProxyPort(FileSystemOptions opts, int proxyPort)
proxyPort
- the portsetProxyHost(org.apache.commons.vfs.FileSystemOptions, java.lang.String)
public java.lang.String getProxyHost(FileSystemOptions opts)
setProxyPort(org.apache.commons.vfs.FileSystemOptions, int)
public int getProxyPort(FileSystemOptions opts)
setProxyHost(org.apache.commons.vfs.FileSystemOptions, java.lang.String)
public void setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator)
public UserAuthenticator getProxyAuthenticator(FileSystemOptions opts)
public void setCookies(FileSystemOptions opts, org.apache.commons.httpclient.Cookie[] cookies)
public org.apache.commons.httpclient.Cookie[] getCookies(FileSystemOptions opts)
protected java.lang.Class getConfigClass()
getConfigClass
in class FileSystemConfigBuilder