Package org.restlet.test.jaxrs.services.others

Examples of org.restlet.test.jaxrs.services.others.PersonList


    }

    @GET
    @Produces( { "application/xml", "text/xml" })
    public PersonList getPersons() {
        final PersonList list = new PersonList();
        list.add(new Person("Angela", "Merkel"));
        list.add(new Person("Ehud", "Olmert"));
        list.add(new Person("George U.", "Bush"));
        return list;
    }
View Full Code Here

TOP

Related Classes of org.restlet.test.jaxrs.services.others.PersonList

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.