public static class WebDAVServlet.WebDAVInitParameters
extends java.lang.Object
Constructor and Description |
---|
WebDAVServlet.WebDAVInitParameters() |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled() |
java.lang.String |
getRootPath() |
java.lang.String |
getStoreName() |
java.lang.String |
getUrlPathPrefix()
Get the path prefix that generated URLs should exhibit, e.g.
|
void |
setEnabled(boolean enabled) |
void |
setRootPath(java.lang.String rootPath) |
void |
setStoreName(java.lang.String storeName) |
void |
setUrlPathPrefix(java.lang.String urlPathPrefix)
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
public java.lang.String getStoreName() throws javax.servlet.ServletException
javax.servlet.ServletException
- if the store name was not setpublic void setStoreName(java.lang.String storeName)
public java.lang.String getRootPath() throws javax.servlet.ServletException
javax.servlet.ServletException
- if the root path was not setpublic void setRootPath(java.lang.String rootPath)
public java.lang.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(java.lang.String urlPathPrefix)
urlPathPrefix
- Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.