Hi,

 I have written one RPC method  isUserAdmin() which returns String[].
 Due to some vulnerability reasons, i have to set the http reponse
status of this method  as 302.

I added following line as first line in method to change the status.
/////////////////////////////////////////
    this.getThreadLocalResponse().setStatus(302);
//////////////////////////////////////

No use whatever i have done. It's still returning http 200 only.


Is there any way to change http status in RPC method?


Thanx in advance.

Regards,
Prvn

--~--~---------~--~----~------------~-------~--~----~
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