@@ -0,0 +1,1282 @@
+import java.net.HttpURLConnection;%0Aimport java.net.URL;%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0Aimport java.io.IOException;%0A%0Apublic class ClientExample %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        String endpoint = %22http://iclikval.riken.jp/api/annotation%22;%0A        URL url         = new URL(endpoint);%0A%0A        HttpURLConnection conn = (HttpURLConnection) url.openConnection();%0A%0A        conn.setRequestMethod(%22GET%22);%0A        conn.setRequestProperty(%22Accept%22, %22application/json%22);%0A        conn.setRequestProperty(%22User-Agent%22, %22MyApp/1.0%22);%0A        // Replace the access token beow with real one%0A        conn.setRequestProperty(%22Authorization%22, %22Bearer xxxxxxxxxxxxxxxxxxxxxxxx%22);%0A%0A        try %7B%0A            int responseCode = conn.getResponseCode();%0A%0A            String line;%0A            BufferedReader buffer = new BufferedReader(new InputStreamReader(conn.getInputStream()));%0A            StringBuffer response = new StringBuffer();%0A%0A            while ((line = buffer.readLine()) != null) %7B%0A                response.append(line);%0A            %7D%0A%0A            buffer.close();%0A            System.out.println(response.toString());%0A        %7D catch (IOException ex) %7B%0A            System.out.println(ex.getMessage());%0A        %7D%0A    %7D%0A%7D%0A

Create ClientExample.java