Hmm, for a minute there I thought I might be able to get at the response
headers. I discovered that I can do this:
Series<Parameter> responseHeaders =
(Series<Parameter>) myClientResource.getResponse().getAttributes().get(
HeaderConstants.ATTRIBUTE_HEADERS);
And in hosted mode, it works, but once again, no luck in production mode --
no headers are returned.
So, I'm still stuck.
I didn't mention it earlier, but the reason I'm interested in doing this is
because when my GWT client tries to access a resource protected by a
security constraint in GAE, a 302 response is sent back, but my GWT restlet
client just ends up in Result<T>.onSuccess(), with no response data, no
status code, and no response headers.
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/accessing-response-Status-from-GWT-client-code-works-in-hosted-mode-but-not-production-tp7083856p7084444.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892322