Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ceefour/webdav-servlet
/ functions
Functions
307 in github.com/ceefour/webdav-servlet
⨍
Functions
307
◇
Types & classes
55
↓ 163 callers
Method
getStoredObject
Gets the storedObject specified by <code>uri</code> @param transaction indicates that the method is within the scope of a WebDAV transactio
src/main/java/net/sf/webdav/IWebdavStore.java:219
↓ 148 callers
Method
writeElement
Write an element. @param name Element name @param type Element type
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:130
↓ 113 callers
Method
getHeader
Return the header to be displayed in front of the folder content @param transaction @param path @param resp @param req @return
src/main/java/net/sf/webdav/methods/DoGet.java:276
↓ 44 callers
Method
initFileStoredObject
(byte[] resourceContent)
src/test/java/net/sf/webdav/testutil/MockTest.java:97
↓ 42 callers
Method
equals
(Object o)
src/test/java/net/sf/webdav/testutil/MockPrincipal.java:79
↓ 32 callers
Method
toString
Retrieve generated XML. @return String containing the generated XML
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:94
↓ 26 callers
Method
addStatusCodeMap
Adds a new status code -> status text mapping. This is a static method because the mapping is a static variable. @param nKey [IN] HTTP or WebDAV
src/main/java/net/sf/webdav/WebdavStatus.java:269
↓ 26 callers
Method
getLockedObjectByPath
Gets the LockedObject on specified path. @param transaction @param path Path to requested resource @return LockedObject or null if no LockedObje
src/main/java/net/sf/webdav/locking/IResourceLocks.java:122
↓ 26 callers
Method
initFolderStoredObject
()
src/test/java/net/sf/webdav/testutil/MockTest.java:91
↓ 24 callers
Method
removeObject
Removes the object specified by <code>uri</code>. @param transaction indicates that the method is within the scope of a WebDAV transaction
src/main/java/net/sf/webdav/IWebdavStore.java:207
↓ 19 callers
Method
getID
Gets the LockID (locktoken) for the LockedObject @return locktoken
src/main/java/net/sf/webdav/locking/LockedObject.java:355
↓ 19 callers
Method
lock
Tries to lock the resource at "path". @param transaction @param path what resource to lock @param owner the owner of the lock @param exclus
src/main/java/net/sf/webdav/locking/IResourceLocks.java:26
↓ 19 callers
Method
unlockTemporaryLockedObjects
Unlocks all resources at "path" (and all subfolders if existing)<p/> that have the same owner. @param transaction @param path what resource to u
src/main/java/net/sf/webdav/locking/IResourceLocks.java:52
↓ 19 callers
Method
writeText
Write text. @param text Text to append
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:182
↓ 18 callers
Method
createResource
Creates a content resource at the position specified by <code>resourceUri</code>. @param transaction indicates that the method is within the sco
src/main/java/net/sf/webdav/IWebdavStore.java:124
↓ 18 callers
Method
writeProperty
Write property to the XML. @param name Property name @param value Property value
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:106
↓ 16 callers
Method
getChildrenNames
Gets the names of the children of the folder specified by <code>folderUri</code>. @param transaction indicates that the method is within the sco
src/main/java/net/sf/webdav/IWebdavStore.java:177
↓ 16 callers
Method
getName
()
src/test/java/net/sf/webdav/testutil/MockPrincipal.java:66
↓ 14 callers
Method
createFolder
Creates a folder at the position specified by <code>folderUri</code>. @param transaction indicates that the method is within the scope of a WebD
src/main/java/net/sf/webdav/IWebdavStore.java:110
↓ 14 callers
Method
getRelativePath
Return the relative path associated with this servlet. @param request The servlet request we are processing
src/main/java/net/sf/webdav/methods/AbstractMethod.java:150
↓ 14 callers
Method
setResourceContent
Sets / stores the content of the resource specified by <code>resourceUri</code>. @param transaction indicates that the method is within the scop
src/main/java/net/sf/webdav/IWebdavStore.java:160
↓ 13 callers
Method
checkLocks
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. Re
src/main/java/net/sf/webdav/methods/AbstractMethod.java:339
↓ 13 callers
Method
getResourceContent
Gets the content of the resource specified by <code>resourceUri</code>. @param transaction indicates that the method is within the scope of a We
src/main/java/net/sf/webdav/IWebdavStore.java:138
↓ 13 callers
Method
register
(String methodName, IMethodExecutor method)
src/main/java/net/sf/webdav/WebDavServletBean.java:106
↓ 12 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoCopy.java:54
↓ 12 callers
Method
lock
(ITransaction transaction, String path, String owner, boolean exclusive, int depth, int timeout,
src/main/java/net/sf/webdav/locking/ResourceLocks.java:79
↓ 10 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoLock.java:72
↓ 10 callers
Method
getMimeType
Detect the mime type of this object @param transaction @param path @return
src/main/java/net/sf/webdav/IMimeTyper.java:12
↓ 10 callers
Method
isFolder
Determines whether the StoredObject is a folder or a resource @return true if the StoredObject is a collection
src/main/java/net/sf/webdav/StoredObject.java:39
↓ 10 callers
Method
isNullResource
Gets the state of the resource @return true if the resource is in lock-null state
src/main/java/net/sf/webdav/StoredObject.java:124
↓ 10 callers
Method
sendReport
Send a multistatus element containing a complete error report to the client. If the errorList contains only one error, send the error directly without
src/main/java/net/sf/webdav/methods/AbstractMethod.java:390
↓ 9 callers
Method
addSafeCharacter
(char c)
src/main/java/net/sf/webdav/fromcatalina/URLEncoder.java:62
↓ 9 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoDelete.java:51
↓ 9 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoMove.java:50
↓ 9 callers
Method
getCleanPath
removes a / at the end of the path string, if present @param path the path @return the path without trailing /
src/main/java/net/sf/webdav/methods/AbstractMethod.java:199
↓ 9 callers
Method
getLockedObjectByPath
(ITransaction transaction, String path)
src/main/java/net/sf/webdav/locking/ResourceLocks.java:221
↓ 9 callers
Method
isResource
Determines whether the StoredObject is a folder or a resource @return true if the StoredObject is a resource
src/main/java/net/sf/webdav/StoredObject.java:48
↓ 8 callers
Method
determineMethodsAllowed
Determines the methods normally allowed for the resource. @param so StoredObject representing the resource @return all allowed methods, separate
src/main/java/net/sf/webdav/methods/DeterminableMethod.java:38
↓ 8 callers
Method
getLastModified
Gets the date of the last modification @return last modification Date
src/main/java/net/sf/webdav/StoredObject.java:67
↓ 8 callers
Method
getPath
Gets the path for the LockedObject @return path
src/main/java/net/sf/webdav/locking/LockedObject.java:373
↓ 7 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoMkcol.java:50
↓ 7 callers
Method
findSubElement
(Node parent, String localName)
src/main/java/net/sf/webdav/fromcatalina/XMLHelper.java:10
↓ 7 callers
Method
getOwner
Gets the owners for the LockedObject @return owners
src/main/java/net/sf/webdav/locking/LockedObject.java:364
↓ 7 callers
Method
setResourceLength
Sets the length of the resource content @param l the length of the resource content
src/main/java/net/sf/webdav/StoredObject.java:115
↓ 7 callers
Method
write
(int i)
src/test/java/net/sf/webdav/methods/TestingOutputStream.java:15
↓ 6 callers
Method
exclusiveLock
Tries to lock the resource at "path" exclusively. @param transaction Transaction @param path what resource to lock @param owner the ow
src/main/java/net/sf/webdav/locking/IResourceLocks.java:81
↓ 6 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/IMethodExecutor.java:27
↓ 6 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoPut.java:54
↓ 6 callers
Method
getParentPath
creates the parent path from the given path by removing the last '/' and everything after that @param path the path @return parent path
src/main/java/net/sf/webdav/methods/AbstractMethod.java:184
↓ 6 callers
Method
getStatusText
Returns the HTTP status text for the HTTP or WebDav status code specified by looking it up in the static mapping. This is a static function. @param n
src/main/java/net/sf/webdav/WebdavStatus.java:248
↓ 6 callers
Method
sendLockFailError
Sends an error report to the client
src/main/java/net/sf/webdav/methods/DoLock.java:585
↓ 6 callers
Method
unlock
Unlocks all resources at "path" (and all subfolders if existing)<p/> that have the same owner. @param transaction @param id id to the resource t
src/main/java/net/sf/webdav/locking/IResourceLocks.java:40
↓ 5 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoUnlock.java:32
↓ 5 callers
Method
getLockIdFromIfHeader
(HttpServletRequest req)
src/main/java/net/sf/webdav/methods/AbstractMethod.java:274
↓ 5 callers
Method
getLockedObjectByID
Gets the LockedObject corresponding to specified id. @param transaction @param id LockToken to requested resource @return LockedObject or null i
src/main/java/net/sf/webdav/locking/IResourceLocks.java:112
↓ 5 callers
Method
initLockNullStoredObject
()
src/test/java/net/sf/webdav/testutil/MockTest.java:119
↓ 5 callers
Method
setFolder
Sets a new StoredObject as a collection or resource @param f true - collection ; false - resource
src/main/java/net/sf/webdav/StoredObject.java:58
↓ 4 callers
Method
convertHexDigit
Convert a byte character value to hexidecimal digit value. @param b the character value byte
src/main/java/net/sf/webdav/fromcatalina/RequestUtil.java:406
↓ 4 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoProppatch.java:48
↓ 4 callers
Method
getETag
Get the ETag associated with a file. @param StoredObject StoredObject to get resourceLength, lastModified and a hashCode of StoredObject @r
src/main/java/net/sf/webdav/methods/AbstractMethod.java:260
↓ 4 callers
Method
initLockNullLockedObject
(ResourceLocks resLocks, String path)
src/test/java/net/sf/webdav/testutil/MockTest.java:131
↓ 4 callers
Method
removeLockedObject
deletes this Lock object. assumes that it has no children and no owners (does not check this itself)
src/main/java/net/sf/webdav/locking/LockedObject.java:170
↓ 4 callers
Method
setNullResource
Sets a StoredObject as a lock-null resource @param f true to set the resource as lock-null resource
src/main/java/net/sf/webdav/StoredObject.java:134
↓ 4 callers
Method
writeXMLHeader
Write XML Header.
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:199
↓ 3 callers
Method
deleteResource
deletes the recources at "path" @param transaction indicates that the method is within the scope of a WebDAV transaction @param path t
src/main/java/net/sf/webdav/methods/DoDelete.java:120
↓ 3 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoHead.java:58
↓ 3 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoPropfind.java:86
↓ 3 callers
Method
generateXMLReport
Generates the response XML with all lock information
src/main/java/net/sf/webdav/methods/DoLock.java:487
↓ 3 callers
Method
getCreationDate
Gets the date of the creation @return creation Date
src/main/java/net/sf/webdav/StoredObject.java:86
↓ 3 callers
Method
getDepth
reads the depth header from the request and returns it as a int @param req @return the depth from the depth header
src/main/java/net/sf/webdav/methods/AbstractMethod.java:228
↓ 3 callers
Method
getDocumentBuilder
Return JAXP document builder instance.
src/main/java/net/sf/webdav/methods/AbstractMethod.java:209
↓ 3 callers
Method
getPropertiesFromXML
(Node propNode)
src/main/java/net/sf/webdav/fromcatalina/XMLHelper.java:25
↓ 3 callers
Method
getResourceLength
Gets the length of the resource content @return length of the resource content
src/main/java/net/sf/webdav/StoredObject.java:105
↓ 3 callers
Method
getTimeout
Ties to read the timeout from request
src/main/java/net/sf/webdav/methods/DoLock.java:447
↓ 3 callers
Method
init
()
src/main/java/net/sf/webdav/WebdavServlet.java:39
↓ 3 callers
Method
isExclusive
Gets the exclusivity for the LockedObject @return exclusivity
src/main/java/net/sf/webdav/locking/LockedObject.java:391
↓ 3 callers
Method
isShared
Gets the exclusivity for the LockedObject @return exclusivity
src/main/java/net/sf/webdav/locking/LockedObject.java:400
↓ 3 callers
Method
removeLockedObjectOwner
tries to remove the owner from the lock @param owner string that represents the owner
src/main/java/net/sf/webdav/locking/LockedObject.java:116
↓ 3 callers
Method
removeTempLockedObject
deletes this Lock object. assumes that it has no children and no owners (does not check this itself)
src/main/java/net/sf/webdav/locking/LockedObject.java:206
↓ 3 callers
Method
sendData
Send data and reinitializes buffer.
src/main/java/net/sf/webdav/fromcatalina/XMLWriter.java:206
↓ 3 callers
Method
setCreationDate
Sets the date of the creation @param d date of the creation
src/main/java/net/sf/webdav/StoredObject.java:96
↓ 3 callers
Method
setLastModified
Sets the date of the last modification @param d date of the last modification
src/main/java/net/sf/webdav/StoredObject.java:77
↓ 3 callers
Method
toString
()
src/test/java/net/sf/webdav/methods/TestingOutputStream.java:19
↓ 2 callers
Method
addChild
adds a new child lock to this lock @param newChild new child
src/main/java/net/sf/webdav/locking/LockedObject.java:154
↓ 2 callers
Method
checkTimeouts
(ITransaction transaction, boolean temporary)
src/main/java/net/sf/webdav/locking/ResourceLocks.java:180
↓ 2 callers
Method
cleanLockedObjects
deletes unused LockedObjects and resets the counter. works recursively starting at the given LockedObject @param transaction @param lo LockedObj
src/main/java/net/sf/webdav/locking/ResourceLocks.java:317
↓ 2 callers
Method
copyResource
Copy a resource. @param transaction indicates that the method is within the scope of a WebDAV transaction @param req Servlet request @
src/main/java/net/sf/webdav/methods/DoCopy.java:109
↓ 2 callers
Method
destroy
Life cycle method, called by WebdavServlet's destroy() method. Should be used to clean up resources.
src/main/java/net/sf/webdav/IWebdavStore.java:43
↓ 2 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoNotImplemented.java:22
↓ 2 callers
Method
execute
(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp)
src/main/java/net/sf/webdav/methods/DoOptions.java:45
↓ 2 callers
Method
executeLock
Executes the LOCK
src/main/java/net/sf/webdav/methods/DoLock.java:268
↓ 2 callers
Method
folderBody
(ITransaction transaction, String path, HttpServletResponse resp, HttpServletRequest req)
src/main/java/net/sf/webdav/methods/DoHead.java:184
↓ 2 callers
Method
getParentPath
creates the parent path from the given path by removing the last '/' and everything after that @param path the path @return parent path
src/main/java/net/sf/webdav/locking/ResourceLocks.java:370
↓ 2 callers
Method
getTimeoutMillis
Gets the timeout for the LockedObject @return timeout
src/main/java/net/sf/webdav/locking/LockedObject.java:333
↓ 2 callers
Method
getType
Gets the type of the lock @return type
src/main/java/net/sf/webdav/locking/LockedObject.java:409
↓ 2 callers
Method
initStoredObject
(boolean isFolder, byte[] resourceContent)
src/test/java/net/sf/webdav/testutil/MockTest.java:103
↓ 2 callers
Method
parseProperties
Propfind helper method. @param req The servlet request @param generatedXML XML response to the Propfind request @param path Path of th
src/main/java/net/sf/webdav/methods/DoPropfind.java:249
↓ 2 callers
Method
putMapEntry
Put name and value pair in map. When name already exist, add value to array of values. @param map The map to populate @param name The param
src/main/java/net/sf/webdav/fromcatalina/RequestUtil.java:427
↓ 2 callers
Method
rewriteUrl
URL rewriter. @param path Path which has to be rewiten @return the rewritten path
src/main/java/net/sf/webdav/methods/AbstractMethod.java:248
↓ 2 callers
Method
rollback
Indicates that all changes done inside this request shall be undone and any transactions, connections and other temporary resources shall be terminate
src/main/java/net/sf/webdav/IWebdavStore.java:97
next →
1–100 of 307, ranked by callers