String senderUrl = req.getHeader("X-Eve-SenderUrl");
if (senderUrl == null || senderUrl.equals("")) {
senderUrl = "web://" + req.getRemoteUser() + "@"
+ req.getRemoteAddr();
}
final String tag = new UUID().toString();
final SyncCallback<String> callback = new SyncCallback<String>();
final AsyncCallbackQueue<String> callbacks = host.getCallbackQueue(
"HttpTransport", String.class);