public final class WebdavFileSystemConfigBuilder extends HttpFileSystemConfigBuilder
KEY_FOLLOW_REDIRECT, KEY_USER_AGENT
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 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, 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, 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 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 HttpFileSystemConfigBuilder
opts
- 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()
getConfigClass
in class HttpFileSystemConfigBuilder
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.