コード例 #1
0
ファイル: WSAsync.java プロジェクト: revbingo/play
 /** Execute a GET request synchronously. */
 @Override
 public HttpResponse get() {
   this.type = "GET";
   sign();
   try {
     return new HttpAsyncResponse(prepare(prepareGet()).execute().get());
   } catch (Exception e) {
     Logger.error(e.toString());
     throw new RuntimeException(e);
   }
 }