Package com.pugh.sockso.templates.json

Examples of com.pugh.sockso.templates.json.TSearch


        final MusicSearch musicSearch = new MusicSearch( getDatabase() );
       
        final Request req = getRequest();
        final String query = req.getUrlParam( 2 );

        final TSearch tpl = new TSearch();
        tpl.setItems( musicSearch.search(query) );
        getResponse().showJson( tpl.makeRenderer() );

    }
View Full Code Here

TOP

Related Classes of com.pugh.sockso.templates.json.TSearch

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.