Provider provider = configuration.getProvider("test-remoting-provider");
provider.process(new HttpServletInputOutputAdapter(request, response));
String result = out.toString();
System.out.println("result = " + result);
}
}, new Object[]{new Pojo[]{new Pojo(1L), new Pojo(2L)}});
this.doJsonRequest("testAction", "methodWithArray", new RequestWorker() {
@Override
public void doInRequest(HttpServletRequest request, HttpServletResponse response, Writer out) throws Exception {
Provider provider = configuration.getProvider("test-remoting-provider");
provider.process(new HttpServletInputOutputAdapter(request, response));
String result = out.toString();
System.out.println("result = " + result);
}
}, new Pojo(1L));
}