Hi,

is there any workaround for this? or some way to retrieve in advance
the response code?

Thanks
Julio

On May 18, 3:57 pm, julio <[email protected]> wrote:
> Hi,
>
> I have json-p requests in my code similar to this:
>
> JsonpRequestBuilder jsonp = new JsonpRequestBuilder();
>                 jsonp.requestObject(jsonUrl, new AsyncCallback<T>() {
>
>                         public void onFailure(Throwable throwable) { // error 
> }
>
>                         public void onSuccess(T t) { //do something }
>                 });
>
> some GET-requests return 200, others 302 and so on, and I should be
> able to return a different "answer" respect to this value. How can I
> know what's the response value returned?
>
> Thanks
> Julio

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to