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 .