Uses of Class
org.apache.jackrabbit.webdav.DavException
-
Packages that use DavException Package Description org.apache.jackrabbit.webdav org.apache.jackrabbit.webdav.bind org.apache.jackrabbit.webdav.client.methods Provides classes for use with the Apache HttpClient, supporting WebDAV request methods.org.apache.jackrabbit.webdav.lock org.apache.jackrabbit.webdav.observation org.apache.jackrabbit.webdav.ordering org.apache.jackrabbit.webdav.search org.apache.jackrabbit.webdav.security org.apache.jackrabbit.webdav.security.report org.apache.jackrabbit.webdav.server org.apache.jackrabbit.webdav.transaction org.apache.jackrabbit.webdav.version org.apache.jackrabbit.webdav.version.report -
-
Uses of DavException in org.apache.jackrabbit.webdav
Methods in org.apache.jackrabbit.webdav with parameters of type DavException Modifier and Type Method Description voidDavServletResponse. sendError(DavException error)Send a response body given more detailed information about the error occurred.voidWebdavResponseImpl. sendError(DavException exception)If the specifid exception provides an error condition an Xml response body is sent providing more detailed information about the error.Methods in org.apache.jackrabbit.webdav that throw DavException Modifier and Type Method Description voidDavResource. addMember(DavResource resource, InputContext inputContext)Add the given resource as an internal member to this resource.MultiStatusResponseDavResource. alterProperties(List<? extends PropEntry> changeList)Set/add and remove the specified properties from this resource.booleanDavSessionProvider. attachSession(WebdavRequest request)Acquires a DavSession.voidDavResource. copy(DavResource destination, boolean shallow)Copy this DavResource to the given destination resourceDavResourceDavResourceFactory. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)Create aDavResourceobject from the given locator, request and response objects.DavResourceDavResourceFactory. createResource(DavResourceLocator locator, DavSession session)Create a newDavResourceobject from the given locator and session.BindInfoWebdavRequestImpl. getBindInfo()DavResourceLocatorDavServletRequest. getDestinationLocator()Parse theDestination headerand return the locator of the correspondingresource.DavResourceLocatorWebdavRequestImpl. getDestinationLocator()Parse the destination header field and return the path of the destination resource.DavResourceLocatorWebdavRequestImpl. getHrefLocator(String href)Parse a href and return the path of the resource.LabelInfoWebdavRequestImpl. getLabelInfo()LockInfoDavServletRequest. getLockInfo()Return the parsed 'lockinfo' request body, theTimeout headerand theDepth headerof a LOCK request asLockInfoobject.LockInfoWebdavRequestImpl. getLockInfo()LockInfoobject encapsulating the information passed with a LOCK request if the LOCK request body was valid.MergeInfoWebdavRequestImpl. getMergeInfo()OptionsInfoWebdavRequestImpl. getOptionsInfo()OrderPatchWebdavRequestImpl. getOrderPatch()DavPropertyNameSetDavServletRequest. getPropFindProperties()Return the set of properties the client requested with a PROPFIND request or an empty set if the type of PROPFIND request wasDavConstants.PROPFIND_ALL_PROPorDavConstants.PROPFIND_PROPERTY_NAMES.DavPropertyNameSetWebdavRequestImpl. getPropFindProperties()Returns the set of properties requested by the PROPFIND body or an empty set if thetypeis either 'allprop' or 'propname'.intDavServletRequest. getPropFindType()Return the type of PROPFIND request as indicated by the PROPFIND request body.intWebdavRequestImpl. getPropFindType()Returns the type of PROPFIND as indicated by the request body.List<? extends PropEntry>DavServletRequest. getPropPatchChangeList()Return aListof property change operations.List<? extends PropEntry>WebdavRequestImpl. getPropPatchChangeList()Return aListof property change operations.RebindInfoWebdavRequestImpl. getRebindInfo()ReportInfoWebdavRequestImpl. getReportInfo()DocumentDavServletRequest. getRequestDocument()Parse the Xml request body and return aDocument.DocumentWebdavRequestImpl. getRequestDocument()SubscriptionInfoWebdavRequestImpl. getSubscriptionInfo()TransactionInfoWebdavRequestImpl. getTransactionInfo()UnbindInfoWebdavRequestImpl. getUnbindInfo()UpdateInfoWebdavRequestImpl. getUpdateInfo()ActiveLockDavResource. lock(LockInfo reqLockInfo)Lock this webdav resource with the information retrieve from the request and return the resulting lockdiscovery object.voidDavResource. move(DavResource destination)Move this DavResource to the given destination resourceActiveLockDavResource. refreshLock(LockInfo reqLockInfo, String lockToken)Refresh an existing lock by resetting the timeout.voidDavResource. removeMember(DavResource member)Removes the specified member from this resource.voidDavResource. removeProperty(DavPropertyName propertyName)Remove the specified property from this resource.voidDavResource. setProperty(DavProperty<?> property)Add/Set the specified property on this resource.voidDavResource. unlock(String lockToken)Remove the lock identified by the included lock token from this resource. -
Uses of DavException in org.apache.jackrabbit.webdav.bind
Methods in org.apache.jackrabbit.webdav.bind that throw DavException Modifier and Type Method Description voidBindableResource. bind(DavResource collection, DavResource newBinding)Will add a new binding to the given collection referencing this resource.static BindInfoBindInfo. createFromXml(Element root)Build anBindInfoobject from the root element present in the request body.static ParentElementParentElement. createFromXml(Element root)Build anParentElementobject from an XML element DAV:parentstatic RebindInfoRebindInfo. createFromXml(Element root)Build anRebindInfoobject from the root element present in the request body.static UnbindInfoUnbindInfo. createFromXml(Element root)Build anUnbindInfoobject from the root element present in the request body.BindInfoBindServletRequest. getBindInfo()Returns theBindInfopresent with the requestDavResourceLocatorBindServletRequest. getHrefLocator(String href)Parses a href and returns the path of the resource.RebindInfoBindServletRequest. getRebindInfo()Returns theRebindInfopresent with the requestUnbindInfoBindServletRequest. getUnbindInfo()Returns theUnbindInfopresent with the requestvoidBindableResource. rebind(DavResource collection, DavResource newBinding)Will rebind the resource to the given collection. -
Uses of DavException in org.apache.jackrabbit.webdav.client.methods
Methods in org.apache.jackrabbit.webdav.client.methods that return DavException Modifier and Type Method Description DavExceptionBaseDavRequest. getResponseException(HttpResponse response)Obtain aDavExceptionrepresenting the response.Methods in org.apache.jackrabbit.webdav.client.methods that throw DavException Modifier and Type Method Description voidBaseDavRequest. checkSuccess(HttpResponse response)Check the response and throw when it is considered to represent a failure.EventDiscoveryBaseDavRequest. getResponseBodyAsEventDiscovery(HttpResponse response)Return response body asEventDiscoveryobject.LockDiscoveryBaseDavRequest. getResponseBodyAsLockDiscovery(HttpResponse response)Return response body asLockDiscoveryobject.MultiStatusBaseDavRequest. getResponseBodyAsMultiStatus(HttpResponse response)Return response body asMultiStatusobject.SubscriptionDiscoveryBaseDavRequest. getResponseBodyAsSubscriptionDiscovery(HttpResponse response)Return response body asSubscriptionDiscoveryobject. -
Uses of DavException in org.apache.jackrabbit.webdav.lock
Methods in org.apache.jackrabbit.webdav.lock that throw DavException Modifier and Type Method Description ActiveLockLockManager. createLock(LockInfo lockInfo, DavResource resource)Create a new lock for the givenresource.ActiveLockSimpleLockManager. createLock(LockInfo lockInfo, DavResource resource)Adds the lock for the given resource, replacing any existing lock.ActiveLockLockManager. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)Refresh the lock identified by the given lockToken and initially created on the specified resource.ActiveLockSimpleLockManager. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)voidLockManager. releaseLock(String lockToken, DavResource resource)Release the lock identified by the given lockToken and initially created on the specified resource.voidSimpleLockManager. releaseLock(String lockToken, DavResource resource)Remove the lock hold by the given resource.Constructors in org.apache.jackrabbit.webdav.lock that throw DavException Constructor Description LockInfo(Element liElement, long timeout, boolean isDeep)Create a newLockInfoobject from the given information. -
Uses of DavException in org.apache.jackrabbit.webdav.observation
Methods in org.apache.jackrabbit.webdav.observation that throw DavException Modifier and Type Method Description SubscriptionInfoObservationDavServletRequest. getSubscriptionInfo()Return aSubscriptionInfoobject representing the subscription info present in the SUBSCRIBE request body ornullif retrieving the subscription info fails.EventDiscoveryObservationResource. poll(String subscriptionId, long timeout)Retrieve the list of events that where recorded for the event listener with the given SubscriptionId.EventDiscoverySubscriptionManager. poll(String subscriptionId, long timeout, ObservationResource resource)Retrieve the list of events that occurred since the last poll.SubscriptionObservationResource. subscribe(SubscriptionInfo info, String subscriptionId)Subscribe this resource for event listening defined by the specified subscription info.SubscriptionSubscriptionManager. subscribe(SubscriptionInfo info, String subscriptionId, ObservationResource resource)Create a newSubscriptionor update an existingSubscription..voidObservationResource. unsubscribe(String subscriptionId)Unsubscribe the event listener with the given SubscriptionId.voidSubscriptionManager. unsubscribe(String subscriptionId, ObservationResource resource)Unsubscribe theSubscriptionwith the given id.Constructors in org.apache.jackrabbit.webdav.observation that throw DavException Constructor Description SubscriptionInfo(Element reqInfo, long timeout, boolean isDeep) -
Uses of DavException in org.apache.jackrabbit.webdav.ordering
Methods in org.apache.jackrabbit.webdav.ordering that throw DavException Modifier and Type Method Description static OrderPatchOrderPatch. createFromXml(Element orderPatchElement)Create a newOrderPathobject.OrderPatchOrderingDavServletRequest. getOrderPatch()Return aOrderPatchobject encapsulating the request body of an ORDERPATCH request ornullif the request body was either missing or could not be parsed.voidOrderingResource. orderMembers(OrderPatch orderPatch)Reorders the internal members of this resource according to the instructions present in the specifiedOrderPatchobject. -
Uses of DavException in org.apache.jackrabbit.webdav.search
Methods in org.apache.jackrabbit.webdav.search that throw DavException Modifier and Type Method Description static SearchInfoSearchInfo. createFromXml(Element searchRequest)Create a newSearchInfofrom the specifying document retrieved from the request body.MultiStatusSearchResource. search(SearchInfo sInfo)Runs a search with the language and query defined in theSearchInfoobject specified and returns aMultiStatusobject listing the results. -
Uses of DavException in org.apache.jackrabbit.webdav.security
Methods in org.apache.jackrabbit.webdav.security that throw DavException Modifier and Type Method Description voidAclResource. alterAcl(AclProperty aclProperty)Modify the DAV:acl property of this resource object.
Note: RFC 3744 limits modification of access control elements (ACEs) to elements that are neither inherited nor protected.static AclPropertyAclProperty. createFromXml(Element aclElement)Build a newAclPropertyobject from the request body of the ACL method call.static PrincipalPrincipal. createFromXml(Element principalElement)static PrivilegePrivilege. getPrivilege(Element privilege)Factory method to create/retrieve aPrivilegefrom the given DAV:privilege element.ReportAclResource. getReport(ReportInfo reportInfo)Same asDeltaVResource.getReport(ReportInfo).Constructors in org.apache.jackrabbit.webdav.security that throw DavException Constructor Description CurrentUserPrivilegeSetProperty(DavProperty<?> xmlDavProperty)Create a newCurrentUserPrivilegeSetPropertyfrom a DavProperty as obtained from a MultiStatusResponse.SupportedPrivilegeSetProperty(DavProperty<?> p) -
Uses of DavException in org.apache.jackrabbit.webdav.security.report
Methods in org.apache.jackrabbit.webdav.security.report that throw DavException Modifier and Type Method Description voidAbstractSecurityReport. init(DavResource resource, ReportInfo info)Checks if the given resource and report info are notnull, that the requested report type matches this implementation and that no other Depth header than 0 is present.voidAclPrincipalReport. init(DavResource resource, ReportInfo info)voidPrincipalMatchReport. init(DavResource resource, ReportInfo info)voidPrincipalSearchReport. init(DavResource resource, ReportInfo info)voidSearchablePropertyReport. init(DavResource resource, ReportInfo info) -
Uses of DavException in org.apache.jackrabbit.webdav.server
Methods in org.apache.jackrabbit.webdav.server with parameters of type DavException Modifier and Type Method Description protected voidAbstractWebdavServlet. sendUnauthorized(WebdavRequest request, WebdavResponse response, DavException error)Sets the "WWW-Authenticate" header and writes the appropriate error to the given webdav response.Methods in org.apache.jackrabbit.webdav.server that throw DavException Modifier and Type Method Description protected voidAbstractWebdavServlet. doAcl(WebdavRequest request, WebdavResponse response, DavResource resource)The ACL methodprotected voidAbstractWebdavServlet. doBaselineControl(WebdavRequest request, WebdavResponse response, DavResource resource)The BASELINECONTROL methodprotected voidAbstractWebdavServlet. doBind(WebdavRequest request, WebdavResponse response, DavResource resource)The BIND methodprotected voidAbstractWebdavServlet. doCheckin(WebdavRequest request, WebdavResponse response, DavResource resource)The CHECKIN methodprotected voidAbstractWebdavServlet. doCheckout(WebdavRequest request, WebdavResponse response, DavResource resource)The CHECKOUT methodprotected voidAbstractWebdavServlet. doCopy(WebdavRequest request, WebdavResponse response, DavResource resource)The COPY methodprotected voidAbstractWebdavServlet. doDelete(WebdavRequest request, WebdavResponse response, DavResource resource)The DELETE methodprotected voidAbstractWebdavServlet. doGet(WebdavRequest request, WebdavResponse response, DavResource resource)The GET methodprotected voidAbstractWebdavServlet. doLabel(WebdavRequest request, WebdavResponse response, DavResource resource)The LABEL methodprotected voidAbstractWebdavServlet. doLock(WebdavRequest request, WebdavResponse response, DavResource resource)The LOCK methodprotected voidAbstractWebdavServlet. doMerge(WebdavRequest request, WebdavResponse response, DavResource resource)The MERGE methodprotected voidAbstractWebdavServlet. doMkActivity(WebdavRequest request, WebdavResponse response, DavResource resource)The MKACTIVITY methodprotected voidAbstractWebdavServlet. doMkCol(WebdavRequest request, WebdavResponse response, DavResource resource)The MKCOL methodprotected voidAbstractWebdavServlet. doMkWorkspace(WebdavRequest request, WebdavResponse response, DavResource resource)The MKWORKSPACE methodprotected voidAbstractWebdavServlet. doMove(WebdavRequest request, WebdavResponse response, DavResource resource)The MOVE methodprotected voidAbstractWebdavServlet. doOptions(WebdavRequest request, WebdavResponse response, DavResource resource)The OPTION methodprotected voidAbstractWebdavServlet. doOrderPatch(WebdavRequest request, WebdavResponse response, DavResource resource)The ORDERPATCH methodprotected voidAbstractWebdavServlet. doPoll(WebdavRequest request, WebdavResponse response, DavResource resource)The POLL methodprotected voidAbstractWebdavServlet. doPost(WebdavRequest request, WebdavResponse response, DavResource resource)The POST method.protected voidAbstractWebdavServlet. doPropFind(WebdavRequest request, WebdavResponse response, DavResource resource)The PROPFIND methodprotected voidAbstractWebdavServlet. doPropPatch(WebdavRequest request, WebdavResponse response, DavResource resource)The PROPPATCH methodprotected voidAbstractWebdavServlet. doPut(WebdavRequest request, WebdavResponse response, DavResource resource)The PUT methodprotected voidAbstractWebdavServlet. doRebind(WebdavRequest request, WebdavResponse response, DavResource resource)The REBIND methodprotected voidAbstractWebdavServlet. doReport(WebdavRequest request, WebdavResponse response, DavResource resource)The REPORT methodprotected voidAbstractWebdavServlet. doSearch(WebdavRequest request, WebdavResponse response, DavResource resource)The SEARCH methodprotected voidAbstractWebdavServlet. doSubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)The SUBSCRIBE methodprotected voidAbstractWebdavServlet. doUnbind(WebdavRequest request, WebdavResponse response, DavResource resource)The UNBIND methodprotected voidAbstractWebdavServlet. doUncheckout(WebdavRequest request, WebdavResponse response, DavResource resource)The UNCHECKOUT methodprotected voidAbstractWebdavServlet. doUnlock(WebdavRequest request, WebdavResponse response, DavResource resource)The UNLOCK methodprotected voidAbstractWebdavServlet. doUnsubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)The UNSUBSCRIBE methodprotected voidAbstractWebdavServlet. doUpdate(WebdavRequest request, WebdavResponse response, DavResource resource)The UPDATE methodprotected voidAbstractWebdavServlet. doVersionControl(WebdavRequest request, WebdavResponse response, DavResource resource)The VERSION-CONTROL methodprotected booleanAbstractWebdavServlet. execute(WebdavRequest request, WebdavResponse response, int method, DavResource resource)Executes the respective method in the given webdav contextprotected intAbstractWebdavServlet. validateDestination(DavResource destResource, WebdavRequest request, boolean checkHeader)Validate the given destination resource and return the proper status code: Any return value greater/equal thanHttpServletResponse.SC_NO_CONTENTindicates an error. -
Uses of DavException in org.apache.jackrabbit.webdav.transaction
Methods in org.apache.jackrabbit.webdav.transaction that throw DavException Modifier and Type Method Description TransactionInfoTransactionDavServletRequest. getTransactionInfo()Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock.voidTxLockManager. releaseLock(TransactionInfo lockInfo, String lockToken, TransactionResource resource)Release the lock identified by the given lock token.voidTransactionResource. unlock(String lockToken, TransactionInfo info)Overloads theunlockmethod of theDavResourceinterface.Constructors in org.apache.jackrabbit.webdav.transaction that throw DavException Constructor Description TransactionInfo(Element transactionInfo)Creates aTransactionInfoobject from the given 'transactionInfo' element. -
Uses of DavException in org.apache.jackrabbit.webdav.version
Methods in org.apache.jackrabbit.webdav.version that throw DavException Modifier and Type Method Description voidVersionableResource. addVersionControl()Converts this versionable resource into a version-controlled resource.voidDeltaVResource. addWorkspace(DavResource workspace)Add a new member to this resource, that represents a workspace.
Please note that no resource must exist at the location of the new workspace.StringVersionControlledResource. checkin()Perform a checkin on the version controlled resource.voidVersionControlledResource. checkout()Perform a checkout on the version controlled resource.static OptionsInfoOptionsInfo. createFromXml(Element optionsElement)Build anOptionsInfoobject from the root element present in the request body.DavResourceBaselineResource. getBaselineCollection()Return the resource that represents the baseline-collection of this baseline, which is identified the href present in theBaselineResource.BASELINE_COLLECTIONproperty.LabelInfoDeltaVServletRequest. getLabelInfo()Return the request body asLabelInfoobject ornullif parsing the request body or the creation of the label info failed.MergeInfoDeltaVServletRequest. getMergeInfo()Return the request body asMergeInfoobject ornullif the creation failed due to invalid format.OptionsInfoDeltaVServletRequest. getOptionsInfo()Returns theOptionsInfopresent with the request ornull.DavResource[]DeltaVResource. getReferenceResources(DavPropertyName hrefPropertyName)Returns an array ofDavResourceobjects that are referenced by theHrefPropertywith the specifiedname.ReportDeltaVResource. getReport(ReportInfo reportInfo)Runs the report specified by the givenReportInfo.ReportInfoDeltaVServletRequest. getReportInfo()Returns the request body and the Depth header asReportInfoobject.UpdateInfoDeltaVServletRequest. getUpdateInfo()Parses the UPDATE request body a build the correspondingUpdateInfoobject.VersionHistoryResourceVersionControlledResource. getVersionHistory()Returns theVersionHistoryResource, that is referenced in the 'version-history' property.VersionHistoryResourceVersionResource. getVersionHistory()Returns theVersionHistoryResource, that is referenced in theDAV:version-historyproperty.VersionResource[]VersionHistoryResource. getVersions()Returns an array ofVersionResources containing all versions that are a member of this resource.voidVersionControlledResource. label(LabelInfo labelInfo)Modify the labels of the version referenced by the DAV:checked-in property of this checked-in version-controlled resource.voidVersionResource. label(LabelInfo labelInfo)Modify the labels of this version resource.MultiStatusVersionControlledResource. merge(MergeInfo mergeInfo)Perform a merge on this resource using the specifiedMergeInfo.voidVersionControlledResource. uncheckout()Perform an uncheckout on the version controlled resource.MultiStatusVersionControlledResource. update(UpdateInfo updateInfo)Perform an update on this resource using the specifiedUpdateInfo.Constructors in org.apache.jackrabbit.webdav.version that throw DavException Constructor Description LabelInfo(Element labelElement)Create a newLabelInfofrom the given element.LabelInfo(Element labelElement, int depth)Create a newLabelInfofrom the given element and depth integer.MergeInfo(Element mergeElement)Create a newMergeInfoUpdateInfo(Element updateElement)Create a newUpdateInfoobject. -
Uses of DavException in org.apache.jackrabbit.webdav.version.report
Methods in org.apache.jackrabbit.webdav.version.report that throw DavException Modifier and Type Method Description ReportReportType. createReport(DeltaVResource resource, ReportInfo info)Creates a newReportwith this type.voidCompareBaselineReport. init(DavResource resource, ReportInfo info)voidExpandPropertyReport. init(DavResource resource, ReportInfo info)voidLatestActivityVersionReport. init(DavResource resource, ReportInfo info)Check all the preconditions for this report.voidLocateByHistoryReport. init(DavResource resource, ReportInfo info)voidReport. init(DavResource resource, ReportInfo info)Set theDeltaVResourcefor which this report was requested and theReportInfoas specified by the REPORT request body, that defines the details for this report.
Please note that this methods should perform basic validation checks in order to prevent exceptional situations during the xml serialization.voidVersionTreeReport. init(DavResource resource, ReportInfo info)Validates the specified resource and info objects.Constructors in org.apache.jackrabbit.webdav.version.report that throw DavException Constructor Description ReportInfo(Element reportElement, int depth)Create a newReportInfoobject from the given Xml element.
-