|Home >> All >> org >> apache >> webdav|
|||org.apache.webdav.ant.* (18)||||org.apache.webdav.cmd.* (6)||||org.apache.webdav.connector.* (7)|
|||org.apache.webdav.lib.* (72)||||org.apache.webdav.ui.* (1)|
org.apache.webdav.ant.taskdefs: Implements ant tasks for dealing with a WebDAV repository.
MIME2Java: MIME2Java is a convenience class which handles conversions between MIME charset names and Java encoding names. The supported XML encodings are the intersection of XML-supported code sets and those supported in JDK 1.1. MIME charset names are used on xmlEncoding parameters to methods such as TXDocument#setEncoding and DTD#setEncoding . Java encoding names are used on encoding parameters to methods such as TXDocument#printWithFormat and DTD#printExternal . Common Name Use this name in XML files Name Type Xerces converts to this Java Encoder Name 8 bit Unicode UTF-8 IANA UTF8 ISO Latin 1 ISO-8859-1 ...
WebdavResource: The class WebdavResource is an abstract representation for WebDAV resource. A functional comparison of WebdavResource and JDK(It's different a lot). ----------------------------------+------------------------------------- File class (JDK 1.3.x) | WebdavResource class ----------------------------------+------------------------------------- File(String) | WebdavResource(HttpURL) File(String, String) | X (need to escape) File(File, String) | WebdavResource(HttpURL, String) getName() | getName() getParent() | *see getHttpURL() and HttpURL getParentFile() | X (not yet) getPath() | getPath() isAbsolute() ...
Scanner: Class for scanning a directory for files/directories that match a certain criteria. These criteria consist of a set of include and exclude patterns. With these patterns, you can select which files you want to have included, and which files you want to have excluded. The idea is simple. A given directory is recursively scanned for all files and directories. Each file/directory is matched against a set of include and exclude patterns. Only files/directories that match at least one pattern of the include pattern list, and don't match a pattern of the exclude pattern list will be placed in the list ...
LockMethod: Web resources can be locked to ensure that only one user is updating the resource at a time. Locking helps to prevent the "lost update" problem. There are two types of lock currently defined by the WebDAV specification: exclusive locks and shared locks. Per the specification, a lock indicates that someone is updating the resource, (hence the lock is a "write lock"), although the specification notes that the the syntax is extensible, and permits the eventual creation of locking for other access types. Shared and Exclusive Locks The most basic form of lock is an exclusive lock . This is a lock where ...
MkcolMethod: The MKCOL method is used to create a new collection. All DAV compliant resources must support the MKCOL method. Collections are merely the HTTP name for structures like directories or folders (and, in fact, often map directly to a folder or directory on the web server. This implementation of a MKCOL client method does not support a a request body, and the newly created web collection should therefore have no members. MKCOL creates a new collection resource at the location specified by the Request-URI. If the resource identified by the Request-URI already exists on the server then the MKCOL will ...
DeleteMethod: DELETE Method. The delete method can be sent to either a collection or non-collection resource. If a delete is sent to a collection, then all members of that collection are deleted. Deletes can fail because of permission problems or if a resource is currently locked. A typical request/response pair might look like this: Request DELETE /container/ HTTP/1.1 Host: www.foo.bar Response HTTP/1.1 207 Multi-Status Content-Type: text/xml; charset="utf-8" Content-Length: xxxx <?xml version="1.0" encoding="utf-8" ?> <d:multistatus xmlns:d="DAV:"> <d:response> <d:href>http://www.foo.bar/container/resource3</d:href> ...
WebdavSession: This WebdavSession class is for the session management of WebDAV clients. This class saves and restores the requested client. Although this class is thread safe, it should only be accessed by one concurrent thread, since the underlying protocol, HTTP, is not multiplexed. If simultaneous operations are needed, it is recommended to create additional threads, each having its own associated WebDAV client. Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than 2 connections with ...
BindMethod: The BIND method modifies the collection identified by the Request-URI, by adding a new binding from the segment specified in the BIND body to the resource identified in the BIND body. BIND Method Example: >> Request: BIND /CollY HTTP/1.1 Host: www.example.com Content-Type: text/xml; charset="utf-8" Content-Length: xxx bar.html http://www.example.com/CollX/foo.html >> Response: HTTP/1.1 201 Created The server added a new binding to the collection, "http://www.example.com/CollY", associating "bar.html" with the resource identified by the URI "http://www.example.com/CollX/foo.html". Clients can now ...
CheckinMethod: The CHECKIN method can be applied to a checked-out version-controlled resource to produce a new version whose content and dead properties are copied from the checked-out resource. This implementation of a CHECKIN client method does support a a request body. If a CHECKIN request fails, the server state preceding the request MUST be restored. The request body MUST be a DAV:checkin XML element with at most one DAV:keep-checked-out or DAV:fork-ok. Example Request CHECKIN /foo.html HTTP/1.1 Host: www.server.org Content-type: text/xml; charset="utf-8" Content-Length: xx Example Response HTTP/1.1 201 ...
MkWorkspaceMethod: The MkWorkspace method is used to create a new workspace. New workspaces can only be created in the workspace collection of the server. A workspace can contain version controled resources and any other. Each resource must identify its workspace. It is not allowed to create a new workspace inside an exiting workspace. Example Request MKWORKSPACE /ws/myWs/ HTTP/1.1 Host: www.server.org Example Response HTTP/1.1 201 Created
LabelMethod: The Label method is used to manipulate labels on resources on the server. Example Request LABEL /files/testfile.xml HTTP/1.1 Host: www.webdav.org Content-Type: text/xml; charset="utf-8" newlabel Example Response HTTP/1.1 200 OK Cache-Control: no-cache
LockDiscoveryProperty: This class represents a listing of who has lock, what type of lock he has, the timeout type and the time remaining on the timeout, and the associated lock token. The server is free to withhold any or all of this information if the requesting principal does not have sufficient access rights to see the requested data.
WebdavResources: This WebdavResources class represents a set of WebDAV resources . Two WebdavResource instances are considered equal, if there getName() 55 method returns the same string.
DepthSupport: Methods that can act on collections (for example, DELETE, LOCK, PROPFIND, etc.) support a depth header. The depth header indicates that the method applies to either: the collection (depth 0); the collection and its immediate contents (depth 1); or the collection, its contents and all subcollections (depth infinity).
WebDAVConnection: Abstraction of a connection to a Slide (WebDAV) server. All actual requests are made via the org.apache.webdav.lib.WebdavResource the user gets with getWebdavResource() 55 .
GetLastModifiedProperty: This interface models the <D:getlastmodified> property, which indicates the last time the resource was modified. It does not, as the name might misleadingly imply, have anything to do with getting the most recently modified property.
CheckoutMethod: The Checkout method can be applied to a checked-in version-controlled resource. Example Request Checkout /foo.html HTTP/1.1 Host: www.server.org Content-Length: xx Example Response HTTP/1.1 200 OK
DOMUtils: This class provides some basic utility methods for working with XML Document objects. Many of these utilities provide JAXP 1.0 "brute force" implementations of functions that are available in JAXP 1.1.
WebdavMatchingTask: Baseclass of all WebDAV tasks that work on sets of WebDAV resources. Provides nested org.apache.webdav.ant.WebdavFileSet s.
NotificationListener: The NotificationListener class encapsulates all methods that are required for dealing with WebDAV notifications. It implements poll and push based notification handling.
WebDAVConnectionSpec: Specifies where the WebDAVConnection shall go to.
UnbindMethod: The UNBIND method modifies the collection identified by the Request-URI, by removing the binding identified by the segment specified in the UNBIND body.
AclReportMethod: WebDAV Report method This class is used to send an report from the ACL specification. In this version only the principal-property-search is supported.
PrincipalCollectionSetProperty: This class models the <D:principal-collection-set> property, which is defined in the WebDAV Access Control Protocol specification.
CheckedinProperty: This interface models the <D:checked-in> property, which is defined in the WebDAV Access Control Protocol specification.