Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.webdav.lib.methods.* (30)org.apache.webdav.lib.properties.* (17)
org.apache.webdav.lib.util.* (8)

org.apache.webdav.lib: Javadoc index of package org.apache.webdav.lib.


Package Samples:

org.apache.webdav.lib.methods
org.apache.webdav.lib.properties
org.apache.webdav.lib.util

Classes:

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() ...
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).
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.
NotificationListener: The NotificationListener class encapsulates all methods that are required for dealing with WebDAV notifications. It implements poll and push based notification handling.
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.
CheckedoutProperty: This interface models the <D:checked-in> property, which is defined in the WebDAV Access Control Protocol specification.
OwnerProperty: This interface models the <D:owner> property, which is defined in the WebDAV Access Control Protocol specification.
AclProperty: This interface models the <D:acl> property, which is defined in the WebDAV Access Control Protocol specification.
RebindMethod: The REBIND method removes a binding to a resource from one collection, and adds a binding to that resource into another collection.

Home | Contact Us | Privacy Policy | Terms of Service