Class WebdavFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilder
org.apache.commons.vfs2.provider.webdav.WebdavFileSystemConfigBuilder
Configuration options for WebDav.
- Since:
- 2.0
- 
Field SummaryFields inherited from class org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilderKEY_FOLLOW_REDIRECT, KEY_USER_AGENT
- 
Method SummaryModifier and TypeMethodDescriptionprotected Class<? extends FileSystem> Gets the user name to be associated with changes to the file.booleanGets whether to follow redirects for the connection.static HttpFileSystemConfigBuilderGets the singleton builder.booleanThe cookies to add to the request.voidsetCreatorName(FileSystemOptions opts, String creatorName) The user name to be associated with changes to the file.voidsetVersioning(FileSystemOptions opts, boolean versioning) Whether to use versioning.Methods inherited from class org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuildergetConnectionTimeout, getConnectionTimeoutDuration, getCookies, getMaxConnectionsPerHost, getMaxTotalConnections, getProxyAuthenticator, getProxyHost, getProxyPort, getSoTimeout, getSoTimeoutDuration, getUrlCharset, getUserAgent, isPreemptiveAuth, setConnectionTimeout, setConnectionTimeout, setCookies, setFollowRedirect, setMaxConnectionsPerHost, setMaxTotalConnections, setPreemptiveAuth, setProxyAuthenticator, setProxyHost, setProxyPort, setSoTimeout, setSoTimeout, setUrlCharset, setUserAgentMethods inherited from class org.apache.commons.vfs2.FileSystemConfigBuildergetBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getDuration, getDuration, getDurationInteger, getDurationInteger, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getParamOrDefault, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
- 
Method Details- 
getInstanceGets the singleton builder.- Returns:
- the singleton builder.
 
- 
getConfigClass- Overrides:
- getConfigClassin class- HttpFileSystemConfigBuilder
- Returns:
- The WebDAV FileSystem Class object.
 
- 
getCreatorNameGets the user name to be associated with changes to the file.- Parameters:
- opts- The FileSystem options
- Returns:
- The creatorName.
 
- 
getFollowRedirectGets whether to follow redirects for the connection.- Overrides:
- getFollowRedirectin class- HttpFileSystemConfigBuilder
- Parameters:
- opts- The FileSystem options.
- Returns:
- trueto follow redirects,- falsenot to.
- Since:
- 2.1
- See Also:
 
- 
isVersioningThe cookies to add to the request.- Parameters:
- opts- The FileSystem options.
- Returns:
- true if versioning is enabled.
 
- 
setCreatorNameThe user name to be associated with changes to the file.- Parameters:
- opts- The FileSystem options
- creatorName- The creator name to be associated with the file.
 
- 
setVersioningWhether to use versioning.- Parameters:
- opts- The FileSystem options.
- versioning- true if versioning should be enabled.
 
 
-