public static class WebDAVServlet.WebDAVInitParameters extends Object
Constructor and Description |
---|
WebDAVInitParameters() |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled() |
String |
getRootPath() |
String |
getStoreName() |
String |
getUrlPathPrefix()
Get the path prefix that generated URLs should exhibit, e.g.
|
void |
setEnabled(boolean enabled) |
void |
setRootPath(String rootPath) |
void |
setStoreName(String storeName) |
void |
setUrlPathPrefix(String urlPathPrefix)
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
public String getStoreName() throws ServletException
ServletException
- if the store name was not setpublic void setStoreName(String storeName)
public String getRootPath() throws ServletException
ServletException
- if the root path was not setpublic void setRootPath(String rootPath)
public String getUrlPathPrefix()
http://server.name<prefix>/path/to/file.txtIn the default set up this would be of the form /context-path/servlet-name e.g. /alfresco/webdav:
http://server.name/alfresco/webdav/path/to/file.txthowever if using URL rewriting rules or a reverse proxy in front of the webdav server you may choose to use, for example / for shorter URLs.
http://server.name/path/to/file.txt
Leaving this property blank will cause the prefix used to be /context-path/servlet-name
public void setUrlPathPrefix(String urlPathPrefix)
urlPathPrefix
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.