Abort a request before being sent in RequestBuilder
Anyone knows a way to abort a request from the RequestBuilder, we're
trying to build a request cache on top of the RpcRequestBuilder, by
overriding the provided do* methods of rpcrequestbuilder we're able to
cache request data and its response but we cannot abort the ongoing
request nor avoid being sent. The only way we found was by throwing an
IllegalStateException that will break the flow of the builder, the
problem is that then all methods must be wrapped with a try catch
controlling this.
Is there way to abort the current request from requestbuilder?
Any idea?
thanks
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home