final HttpHost targetHost = URIUtils.extractHost(u);
return new VegaURI(targetHost, u.getPath(), u.getQuery());
}
void pauseScan() {
final IWebCrawler crawler = currentCrawler;
if(crawler != null) {
crawler.pause();
scanInstance.notifyScanPauseState(true);
}
}