public final class Webdav4FileSystemConfigBuilder extends Http4FileSystemConfigBuilder
KEY_FOLLOW_REDIRECT
Modifier and Type | Method and Description |
---|---|
protected Class<? extends FileSystem> |
getConfigClass() |
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 Webdav4FileSystemConfigBuilder |
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, 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, setUserAgent
getBoolean, 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, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
public static Webdav4FileSystemConfigBuilder 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 Http4FileSystemConfigBuilder
opts
- The FileSystem options.true
to follow redirects, false
not to.Http4FileSystemConfigBuilder.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()
getConfigClass
in class Http4FileSystemConfigBuilder
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.