AnsweredAssumed Answered

Calling Java Class in GEL

Question asked by helloworld on Apr 17, 2015
Latest reply on Apr 20, 2015 by helloworld



I want to use the HttpURLConnection for invoking a REST URL in GEL. How do I build the below statements in GEL?


          URL url = new URL ("");
          HttpURLConnection connection = (HttpURLConnection) url.openConnection();


I can use the core:new tag for the first statement. Need help with the second statement.

Thanks in advance,