@Override
 protected void gwtSetUp() throws Exception {
   new Container().bootstrapContainer();
   RestClient.setApplicationRoot(jaxRsApplicationRoot);
   RestClient.setJacksonMarshallingActive(false);
   super.gwtSetUp();
 }
示例#2
0
文件: App.java 项目: geniusit/errai
 @PostConstruct
 public void init() {
   RootPanel.get().add(navWrapper);
   RestClient.setApplicationRoot("/errai-security-demo/rest/");
 }
示例#3
0
 @PostConstruct
 public void init() {
   Document.get().getBody().appendChild(navWrapper.getBody());
   RestClient.setApplicationRoot("/errai-security-demo/rest/");
 }