12131415161718
this.answer = answer; } public EasyHttpSyncMultiExecutor get(String url) { answer.add(RequestType.STRING_GET, url, String.class, null); return new EasyHttpSyncMultiExecutor(answer); };
17181920212223
return new EasyHttpSyncMultiExecutor(answer); }; public EasyHttpSyncMultiExecutor post(String url, String contentToSend) { answer.add(RequestType.STRING_POST, url, String.class, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }
23242526272829
} public EasyHttpSyncMultiExecutor put(String url, String contentToSend) { answer.add(RequestType.STRING_PUT, url, String.class, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }
29303132333435
} public EasyHttpSyncMultiExecutor delete(String url, String contentToSend) { answer.add(RequestType.STRING_DELETE, url, null, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }
16171819202122
} public <T> EasyHttpSyncMultiExecutor get(String url, Class<T> classe) { answer.add(RequestType.JSON_GET, url, classe, null); return new EasyHttpSyncMultiExecutor(answer); };
22232425262728
}; public <T> EasyHttpSyncMultiExecutor post(String url, Class<T> classe, Serializable contentToSend) { answer.add(RequestType.JSON_POST, url, classe, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }
28293031323334
} public <T> EasyHttpSyncMultiExecutor put(String url, Class<T> classe, Serializable contentToSend) { answer.add(RequestType.JSON_PUT, url, classe, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }
34353637383940
} public EasyHttpSyncMultiExecutor delete(String url, Serializable contentToSend) { answer.add(RequestType.JSON_DELETE, url, null, contentToSend); return new EasyHttpSyncMultiExecutor(answer); }