Package com.drighetto.rest.restlet

Examples of com.drighetto.rest.restlet.RestletOne


    // Create a RESTlet handler with working attributes list
    List<String> workingAttributeList = new ArrayList<String>();
    workingAttributeList.add("user");
    workingAttributeList.add("action");
    RestletOne restletOne = new RestletOne(workingAttributeList);

    // Attach the handler to the root router
    router.attach("/", restletOne);
    router.attach("/users", restletOne);
    router.attach("/users/{user}", restletOne);
View Full Code Here

TOP

Related Classes of com.drighetto.rest.restlet.RestletOne

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.