R
- type of response the callback expects. Use Void
for methods returning void
.public interface RemoteCallback<R>
MessageBuilder#createCall()
,
MessageBuilder#createCall(RemoteCallback, Class)
,
MessageBuilder#createCall(RemoteCallback, ErrorCallback, Class)
,
Errai JAX-RS client module
void callback(R response)
response
- the response returned from the remote call. Will be null if the
remote method returns null or has a void return type.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.