예제 #1
0
 private JsonValue httpGetJson(String url) {
   JsonResponseHandler x = new JsonResponseHandler();
   HttpOp.execHttpGet(url, WebContent.contentTypeJSON, x);
   return x.getJSON();
 }
예제 #2
0
 @Test
 public void ping_1() {
   execHttpGet(ServerTest.urlRoot + "$/" + opPing);
 }
예제 #3
0
 @Override
 public TypedInputStream performOpen(String uri) {
   if (uri.startsWith("http://") || uri.startsWith("https://"))
     return HttpOp.execHttpGet(uri, WebContent.defaultGraphAcceptHeader);
   return null;
 }