| Package | Description |
|---|---|
| net.sf.webdav | |
| net.sf.webdav.locking | |
| net.sf.webdav.methods |
| Modifier and Type | Method and Description |
|---|---|
ITransaction |
IWebdavStore.begin(Principal principal)
Indicates that a new request or transaction with this store involved has
been started.
|
ITransaction |
LocalFileSystemStore.begin(Principal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
IWebdavStore.checkAuthentication(ITransaction transaction)
Checks if authentication information passed in is valid.
|
void |
LocalFileSystemStore.checkAuthentication(ITransaction transaction) |
void |
IWebdavStore.commit(ITransaction transaction)
Indicates that all changes done inside this request shall be made
permanent and any transactions, connections and other temporary resources
shall be terminated.
|
void |
LocalFileSystemStore.commit(ITransaction transaction) |
void |
IWebdavStore.createFolder(ITransaction transaction,
String folderUri)
Creates a folder at the position specified by
folderUri. |
void |
LocalFileSystemStore.createFolder(ITransaction transaction,
String uri) |
void |
IWebdavStore.createResource(ITransaction transaction,
String resourceUri)
Creates a content resource at the position specified by
resourceUri. |
void |
LocalFileSystemStore.createResource(ITransaction transaction,
String uri) |
void |
IMethodExecutor.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
String[] |
IWebdavStore.getChildrenNames(ITransaction transaction,
String folderUri)
Gets the names of the children of the folder specified by
folderUri. |
String[] |
LocalFileSystemStore.getChildrenNames(ITransaction transaction,
String uri) |
String |
IMimeTyper.getMimeType(ITransaction transaction,
String path)
Detect the mime type of this object
|
InputStream |
IWebdavStore.getResourceContent(ITransaction transaction,
String resourceUri)
Gets the content of the resource specified by
resourceUri. |
InputStream |
LocalFileSystemStore.getResourceContent(ITransaction transaction,
String uri) |
long |
IWebdavStore.getResourceLength(ITransaction transaction,
String path)
Gets the length of the content resource specified by
resourceUri. |
long |
LocalFileSystemStore.getResourceLength(ITransaction transaction,
String uri) |
StoredObject |
IWebdavStore.getStoredObject(ITransaction transaction,
String uri)
Gets the storedObject specified by
uri |
StoredObject |
LocalFileSystemStore.getStoredObject(ITransaction transaction,
String uri) |
void |
IWebdavStore.removeObject(ITransaction transaction,
String uri)
Removes the object specified by
uri. |
void |
LocalFileSystemStore.removeObject(ITransaction transaction,
String uri) |
void |
IWebdavStore.rollback(ITransaction transaction)
Indicates that all changes done inside this request shall be undone and
any transactions, connections and other temporary resources shall be
terminated.
|
void |
LocalFileSystemStore.rollback(ITransaction transaction) |
long |
IWebdavStore.setResourceContent(ITransaction transaction,
String resourceUri,
InputStream content,
String contentType,
String characterEncoding)
Sets / stores the content of the resource specified by
resourceUri. |
long |
LocalFileSystemStore.setResourceContent(ITransaction transaction,
String uri,
InputStream is,
String contentType,
String characterEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
IResourceLocks.checkTimeouts(ITransaction transaction,
boolean temporary)
Deletes LockedObjects, where timeout has reached.
|
void |
ResourceLocks.checkTimeouts(ITransaction transaction,
boolean temporary) |
boolean |
IResourceLocks.exclusiveLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout)
Tries to lock the resource at "path" exclusively.
|
boolean |
ResourceLocks.exclusiveLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout) |
LockedObject |
IResourceLocks.getLockedObjectByID(ITransaction transaction,
String id)
Gets the LockedObject corresponding to specified id.
|
LockedObject |
ResourceLocks.getLockedObjectByID(ITransaction transaction,
String id) |
LockedObject |
IResourceLocks.getLockedObjectByPath(ITransaction transaction,
String path)
Gets the LockedObject on specified path.
|
LockedObject |
ResourceLocks.getLockedObjectByPath(ITransaction transaction,
String path) |
LockedObject |
IResourceLocks.getTempLockedObjectByID(ITransaction transaction,
String id)
Gets the LockedObject corresponding to specified id (locktoken).
|
LockedObject |
ResourceLocks.getTempLockedObjectByID(ITransaction transaction,
String id) |
LockedObject |
IResourceLocks.getTempLockedObjectByPath(ITransaction transaction,
String path)
Gets the LockedObject on specified path.
|
LockedObject |
ResourceLocks.getTempLockedObjectByPath(ITransaction transaction,
String path) |
boolean |
IResourceLocks.lock(ITransaction transaction,
String path,
String owner,
boolean exclusive,
int depth,
int timeout,
boolean temporary)
Tries to lock the resource at "path".
|
boolean |
ResourceLocks.lock(ITransaction transaction,
String path,
String owner,
boolean exclusive,
int depth,
int timeout,
boolean temporary) |
boolean |
IResourceLocks.sharedLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout)
Tries to lock the resource at "path" shared.
|
boolean |
ResourceLocks.sharedLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout) |
boolean |
IResourceLocks.unlock(ITransaction transaction,
String id,
String owner)
Unlocks all resources at "path" (and all subfolders if existing) that
have the same owner.
|
boolean |
ResourceLocks.unlock(ITransaction transaction,
String id,
String owner) |
void |
IResourceLocks.unlockTemporaryLockedObjects(ITransaction transaction,
String path,
String owner)
Unlocks all resources at "path" (and all subfolders if existing) that
have the same owner.
|
void |
ResourceLocks.unlockTemporaryLockedObjects(ITransaction transaction,
String path,
String owner) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractMethod.checkLocks(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
IResourceLocks resourceLocks,
String path)
Checks if locks on resources at the given path exists and if so checks
the If-Header to make sure the If-Header corresponds to the locked
resource.
|
boolean |
DoCopy.copyResource(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Copy a resource.
|
void |
DoDelete.deleteResource(ITransaction transaction,
String path,
Hashtable<String,Integer> errorList,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
deletes the recources at "path"
|
protected void |
DoGet.doBody(ITransaction transaction,
javax.servlet.http.HttpServletResponse resp,
String path) |
protected void |
DoHead.doBody(ITransaction transaction,
javax.servlet.http.HttpServletResponse resp,
String path) |
void |
DoDelete.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoNotImplemented.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoProppatch.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoLock.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoMkcol.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoCopy.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoPut.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoPropfind.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoUnlock.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoMove.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoOptions.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
DoHead.execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
DoGet.folderBody(ITransaction transaction,
String path,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.http.HttpServletRequest req) |
protected void |
DoHead.folderBody(ITransaction transaction,
String path,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.http.HttpServletRequest req) |
protected String |
DoGet.getFooter(ITransaction transaction,
String path,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.http.HttpServletRequest req)
Return the footer to be displayed after the folder content
|
protected String |
DoGet.getHeader(ITransaction transaction,
String path,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.http.HttpServletRequest req)
Return the header to be displayed in front of the folder content
|
Copyright © 2011-2013. All Rights Reserved.