public final class WebdavFileSystemConfigBuilder extends HttpFileSystemConfigBuilder
KEY_FOLLOW_REDIRECT, KEY_USER_AGENT| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends FileSystem> |
getConfigClass()
Get the target of this configuration.
|
String |
getCreatorName(FileSystemOptions opts)
Return the user name to be associated with changes to the file.
|
boolean |
getFollowRedirect(FileSystemOptions opts)
Gets whether to follow redirects for the connection.
|
static HttpFileSystemConfigBuilder |
getInstance()
Gets the singleton builder.
|
boolean |
isVersioning(FileSystemOptions opts)
The cookies to add to the request.
|
void |
setCreatorName(FileSystemOptions opts,
String creatorName)
The user name to be associated with changes to the file.
|
void |
setVersioning(FileSystemOptions opts,
boolean versioning)
Whether to use versioning.
|
getConnectionTimeout, getCookies, getMaxConnectionsPerHost, getMaxTotalConnections, getProxyAuthenticator, getProxyHost, getProxyPort, getSoTimeout, getUrlCharset, getUserAgent, isPreemptiveAuth, setConnectionTimeout, setCookies, setFollowRedirect, setMaxConnectionsPerHost, setMaxTotalConnections, setPreemptiveAuth, setProxyAuthenticator, setProxyHost, setProxyPort, setSoTimeout, setUrlCharset, setUserAgentgetBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURIpublic static HttpFileSystemConfigBuilder getInstance()
public void setCreatorName(FileSystemOptions opts, String creatorName)
opts - The FileSystem optionscreatorName - The creator name to be associated with the file.public String getCreatorName(FileSystemOptions opts)
opts - The FileSystem optionspublic boolean getFollowRedirect(FileSystemOptions opts)
getFollowRedirect in class HttpFileSystemConfigBuilderopts - The FileSystem options.true to follow redirects, false not to.HttpFileSystemConfigBuilder.setFollowRedirect(org.apache.commons.vfs2.FileSystemOptions, boolean)public void setVersioning(FileSystemOptions opts, boolean versioning)
opts - The FileSystem options.versioning - true if versioning should be enabled.public boolean isVersioning(FileSystemOptions opts)
opts - The FileSystem options.protected Class<? extends FileSystem> getConfigClass()
FileSystemConfigBuildergetConfigClass in class HttpFileSystemConfigBuilderCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.