Class Webdav4FileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.http4.Http4FileSystemConfigBuilder
org.apache.commons.vfs2.provider.webdav4.Webdav4FileSystemConfigBuilder
Configuration options for WebDav based on HTTP4.
- Since:
- 2.5.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final StringDefines whether a trailing slash ( / ) should be appended to the path.Fields inherited from class org.apache.commons.vfs2.provider.http4.Http4FileSystemConfigBuilderKEY_FOLLOW_REDIRECT
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets whether a trailing slash ( / ) should be appended to the path.protected Class<? extends FileSystem> Gets the user name to be associated with changes to the file.booleanGets whether to follow redirects for the connection.Gets the singleton builder.booleanThe cookies to add to the request.voidsetAppendTrailingSlash(FileSystemOptions opts, boolean appendTrailingSlash) Sets whether a trailing slash ( / ) should be appended to the path.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.http4.Http4FileSystemConfigBuildergetConnectionTimeout, getConnectionTimeoutDuration, getCookies, getKeyStoreFile, getKeyStoreType, getMaxConnectionsPerHost, getMaxTotalConnections, getProxyAuthenticator, getProxyHost, getProxyPort, getProxyScheme, getSoTimeout, getSoTimeoutDuration, getUrlCharset, getUserAgent, isHostnameVerificationEnabled, isKeepAlive, isPreemptiveAuth, setConnectionTimeout, setConnectionTimeout, setCookies, setFollowRedirect, setHostnameVerificationEnabled, setKeepAlive, setKeyStoreFile, setKeyStorePass, setKeyStoreType, setMaxConnectionsPerHost, setMaxTotalConnections, setPreemptiveAuth, setProxyAuthenticator, setProxyHost, setProxyPort, setProxyScheme, 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
- 
Field Details- 
KEY_APPEND_TRAILING_SLASHDefines whether a trailing slash ( / ) should be appended to the path.This parameter expects a value of type Boolean.- Since:
- 2.10.0
- See Also:
 
 
- 
- 
Method Details- 
getInstanceGets the singleton builder.- Returns:
- the singleton builder.
 
- 
getAppendTrailingSlashGets whether a trailing slash ( / ) should be appended to the path.- Parameters:
- opts- The FileSystem options.
- Returns:
- trueto follow redirects,- falsenot to.
- Since:
- 2.10.0
- See Also:
 
- 
getConfigClass- Overrides:
- getConfigClassin class- Http4FileSystemConfigBuilder
- 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- Http4FileSystemConfigBuilder
- Parameters:
- opts- The FileSystem options.
- Returns:
- trueto follow redirects,- falsenot to.
- See Also:
 
- 
isVersioningThe cookies to add to the request.- Parameters:
- opts- The FileSystem options.
- Returns:
- true if versioning is enabled.
 
- 
setAppendTrailingSlashSets whether a trailing slash ( / ) should be appended to the path.- Parameters:
- opts- The FileSystem options.
- appendTrailingSlash-- trueto append slash,- falsenot to.
- Since:
- 2.10.0
 
- 
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.
 
 
-