Class WebDavProfile
- java.lang.Object
-
- org.craftercms.commons.config.profiles.ConfigurationProfile
-
- org.craftercms.commons.config.profiles.webdav.WebDavProfile
-
public class WebDavProfile extends ConfigurationProfile
Holds the necessary information to connect to a WebDAV server.- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected String
baseUrl
protected String
deliveryBaseUrl
protected String
password
protected boolean
preemptiveAuth
protected String
username
-
Fields inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
profileId
-
-
Constructor Summary
Constructors Constructor Description WebDavProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBaseUrl()
Returns the base url of the webdav server.String
getDeliveryBaseUrl()
Deprecated.The new service will ignore this property and use a /remote-assets/...String
getPassword()
Returns the password used to connect to the server.String
getUsername()
Returns the username used to connect to the server.boolean
isPreemptiveAuth()
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
-
-
-
-
Method Detail
-
getBaseUrl
public String getBaseUrl()
Returns the base url of the webdav server.
-
setBaseUrl
public void setBaseUrl(String baseUrl)
Sets the base url of the webdav server.
-
getDeliveryBaseUrl
@Deprecated public String 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 public void setDeliveryBaseUrl(String deliveryBaseUrl)
Deprecated.The new service will ignore this property and use a /remote-assets/... URL insteadSets the base url to generate asset urls.
-
getUsername
public String getUsername()
Returns the username used to connect to the server.
-
setUsername
public void setUsername(String username)
Sets the username used to connect to the server.
-
getPassword
public String getPassword()
Returns the password used to connect to the server.
-
setPassword
public void setPassword(String password)
Sets the password used to connect to the server.
-
isPreemptiveAuth
public boolean isPreemptiveAuth()
-
setPreemptiveAuth
public void setPreemptiveAuth(boolean preemptiveAuth)
-
-