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 {
        
        IContext context = newContext();
        context.setTimeout(timeout);
        context.setLockToken(lockToken.getToken());

        
        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
Refresh the lock on this resource with the given lock token . Use the specified timeout value .