1

当尝试使用 Aerogear 管道从 Restfull API 检索数据时,请关闭 Stream ....

AuthzModule authzModule = AuthorizationManager.getModule("KeyCloakAuthz");

authzModule.requestAccess( (Activity)this, new Callback<String>() {
        @SuppressWarnings("unchecked")
        @Override
        public void onSuccess(String s) {
          Pipe<Transactions> pipes = PipeManager.getPipe("transactions");
          pipes.read(new AbstractCallback<List<Transactions>>() {
            @Override
            public void onSuccess(List<Transactions> id) {
              //nothink happen
            }
            @Override
            public void onFailure(Exception e) {
            //error stream closed
            }

你能帮我吗谢谢

4

0 回答 0