Jaspersoft / jrs-rest-java-client

Java Rest Client for JasperReports Server
GNU Lesser General Public License v3.0
100 stars 102 forks source link

async calls #7

Closed VeaceslavChicu closed 10 years ago

VeaceslavChicu commented 10 years ago

api is good but it's synchronous, in real live we need a progress monitor, and cancel button, look at http://code.jaspersoft.com/svn/repos/jaspersoftstudio/trunk/com.jaspersoft.studio.server/src/com/jaspersoft/studio/server/protocol/restv2/JSSApacheConnector.java

run all with async, and check in a thread if monitor is canceled , cancel the connection there are many cases when connection block ui (slow connection, over vpn, if server is not available, etc.) user should always have the possibility to stop/cancel connection, for any call

boryskolesnykov commented 10 years ago

Asynchronous API implemented. Details here.