Class WebDavProfile
java.lang.Object
org.craftercms.commons.config.profiles.ConfigurationProfile
org.craftercms.commons.config.profiles.webdav.WebDavProfile
Holds the necessary information to connect to a WebDAV server.
- Author:
- joseross
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected boolean
protected String
Fields inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
profileId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the base url of the webdav server.Deprecated.The new service will ignore this property and use a /remote-assets/...Returns the password used to connect to the server.Returns the username used to connect to the server.boolean
void
setBaseUrl
(String baseUrl) Sets the base url of the webdav server.void
setDeliveryBaseUrl
(String deliveryBaseUrl) Deprecated.The new service will ignore this property and use a /remote-assets/...void
setPassword
(String password) Sets the password used to connect to the server.void
setPreemptiveAuth
(boolean preemptiveAuth) void
setUsername
(String username) Sets the username used to connect to the server.Methods inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
equals, getProfileId, hashCode, setProfileId
-
Field Details
-
baseUrl
-
deliveryBaseUrl
-
username
-
password
-
preemptiveAuth
protected boolean preemptiveAuth
-
-
Constructor Details
-
WebDavProfile
public WebDavProfile()
-
-
Method Details
-
getBaseUrl
Returns the base url of the webdav server. -
setBaseUrl
Sets the base url of the webdav server. -
getDeliveryBaseUrl
Deprecated.The new service will ignore this property and use a /remote-assets/... URL insteadReturns the base url to generate asset urls. -
setDeliveryBaseUrl
Deprecated.The new service will ignore this property and use a /remote-assets/... URL insteadSets the base url to generate asset urls. -
getUsername
Returns the username used to connect to the server. -
setUsername
Sets the username used to connect to the server. -
getPassword
Returns the password used to connect to the server. -
setPassword
Sets the password used to connect to the server. -
isPreemptiveAuth
public boolean isPreemptiveAuth() -
setPreemptiveAuth
public void setPreemptiveAuth(boolean preemptiveAuth)
-