drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
public void refreshLock(LockToken lockToken, int timeout) throws DAVException {
        // Set up the request in the context.
        IContext context = newContext();
        context.setTimeout(timeout);
        context.setLockToken(lockToken.getToken());

        // Send the request to the server.
        IResponse response = null;
        try {
            response = davClient.lock(locator, context, null);
            examineResponse(response);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
public void refreshLock(LockToken lockToken, int timeout) throws DAVException {
        // Set up the request in the context.
        IContext context = newContext();
        context.setTimeout(timeout);
        context.setLockToken(lockToken.getToken());

        // Send the request to the server.
        IResponse response = null;
        try {
            response = davClient.lock(locator, context, null);
            examineResponse(response);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
Refresh the lock on this resource with the given lock token. Use
the specified timeout value.

@param lockToken the lock token to refresh
@param timeout the new timeout value to use
@exception DAVException if there was a problem refreshing the lock