ResultSet rs = null ;
@Override
public void handle(String contentType, String baseIRI, HttpResponse response) throws IOException
{
MediaType mt = MediaType.create(contentType) ;
ResultsFormat fmt = mapContentTypeToResultSet.get(contentType) ; // contentTypeToResultSet(contentType) ;
InputStream in = response.getEntity().getContent() ;
rs = ResultSetFactory.load(in, fmt) ;
// Force reading
rs = ResultSetFactory.copyResults(rs) ;
}