This content has been marked as final.
Show 1 reply
-
1. Re: Problem with RPC Interceptor (CastException error cast Object to Response)
csa Jan 6, 2014 11:32 AM (in response to shut_desert)Hi Yernar,
The ResponseCallback class is for HTTP/REST based communication using Errai JAX-RS. Unfortunately, it won't work for plain Errai/RPC. Errai's RPC mechanism uses our message bus. There's no guarantee that the message bus will use plain HTTP requests at runtime (i.e. it could use websockets instead if available).
So, in this case you will have to use RemoteCallback directly.
Cheers,
Christian