Demo entry 2843358

java

   

Submitted by 123 on Oct 20, 2015 at 16:08
Language: Java. Code size: 619 Bytes.

package com.jini.api.call;

import java.io.IOException;
import java.util.Map;

import org.apache.http.client.ClientProtocolException;

public class TestRun {

	public static void main(String[] args) throws InterruptedException {

		RestCaller caller = new RestCaller();
		for(Map<String, String> element : ApiInfoReader.INSTANCE.getApiList()) {
			try {
				caller.doCall(element);
			} catch (ClientProtocolException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).