Package org.jrest4guice.rest

Examples of org.jrest4guice.rest.RemoteServiceDynamicProxy


    System.out.println("==================================");
   

    //测试通过远程代理方式调用远程服务
    RemoteServiceDynamicProxy proxy = new RemoteServiceDynamicProxy();
    ContactResource resource = proxy
        .createRemoteService(ContactResource.class);

    page = resource.listContacts(1, 2);
    contacts = page.getResult();
    for (Contact ct : contacts)
View Full Code Here

TOP

Related Classes of org.jrest4guice.rest.RemoteServiceDynamicProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.