org.apache.wink.webdav.server
Class WebDAVLockableResource

java.lang.Object
  extended by org.apache.wink.webdav.server.WebDAVResource
      extended by org.apache.wink.webdav.server.WebDAVLockableResource

public abstract class WebDAVLockableResource
extends WebDAVResource

Base resource for WebDAV-enabled Lockable resources.


Constructor Summary
WebDAVLockableResource()
           
 
Method Summary
 javax.ws.rs.core.Response msCompatibilityLock(java.lang.String body)
          This method does not perform a real lock but returns a 'dummy' lock response for compatibility with MS Windows.
 javax.ws.rs.core.Response msCompatibilityUnlock()
          This method does not perform a real unlock but returns a NO_CONTENT response for compatibility with MS Windows.
 
Methods inherited from class org.apache.wink.webdav.server.WebDAVResource
getOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDAVLockableResource

public WebDAVLockableResource()
Method Detail

msCompatibilityLock

public javax.ws.rs.core.Response msCompatibilityLock(java.lang.String body)
This method does not perform a real lock but returns a 'dummy' lock response for compatibility with MS Windows. It opens any resource as read-only file when a lock is not received.

Returns:
response
Throws:
java.io.IOException - when an I/O error occurs

msCompatibilityUnlock

public javax.ws.rs.core.Response msCompatibilityUnlock()
This method does not perform a real unlock but returns a NO_CONTENT response for compatibility with MS Windows.

Returns:


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.