void setRequest ( HttpUriRequest request ) { requestLock . lock ( ) ; try { if ( this . request != null ) { throw new SparqlException ( "Command is already executing a request." ) ; } this . request = request ; } finally { requestLock . unlock ( ) ; } }
Sets the currently executing request .