org.apache.wink.webdav.server
Class WebDAVLockableResource
java.lang.Object
org.apache.wink.webdav.server.WebDAVResource
org.apache.wink.webdav.server.WebDAVLockableResource
public abstract class WebDAVLockableResource
- extends WebDAVResource
Base resource for WebDAV-enabled Lockable resources.
Method Summary |
javax.ws.rs.core.Response |
msCompatibilityLock(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDAVLockableResource
public WebDAVLockableResource()
msCompatibilityLock
public javax.ws.rs.core.Response msCompatibilityLock(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:
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-2012 The Apache Software Foundation. All Rights Reserved.