method("GET");// Ensure we only use iterators for GET requests
...
...
@@ -145,7 +170,6 @@ public class GitlabHTTPRequestor {
}
}
@Override
publicbooleanhasNext(){
fetch();
if(_next.getClass().isArray()){
...
...
@@ -156,7 +180,6 @@ public class GitlabHTTPRequestor {
}
}
@Override
publicTnext(){
fetch();
Trecord=_next;
...
...
@@ -268,7 +291,7 @@ public class GitlabHTTPRequestor {
returnnull;
}
}catch(SSLHandshakeExceptione){
thrownewSSLHandshakeException("You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor");
thrownewSSLHandshakeException("You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: "+e.getMessage());