简体   繁体   English

Azure MobileService EasyApi java.lang.interruptedException

[英]Azure MobileService EasyApi java.lang.interruptedException

in my MobileService I defined new easy api "test". 在我的MobileService中,我定义了新的简单api“测试”。 Right now from Android I'm trying to invoke simple request to get my passed object filled: 现在,我正在尝试从Android调用简单的请求来填充传递的对象:

  Exists result = mClient.invokeApi("test","ID" ,Exists.class).get();

Where Exists is defined as 存在的定义为

public class Exists {
    public boolean Exists;
}

My test.js looks like this: 我的test.js看起来像这样:

module.exports = {
    "post": function (req, res, next) {
 res.json({"Exists": "true"});
 res.send();
    }
};

This return me java.lang.interruptedException. 这将返回java.lang.interruptedException。 Could somebody explain me why and how could i fix it? 有人可以解释一下我为什么以及如何解决它吗?

解决,服务已关闭

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM