Package grails.web.mapping

Examples of grails.web.mapping.UrlMappingParser


        assertEquals("/blog/(*)?/2007/*", urls[1]);
        assertEquals("/blog", urls[2]);
    }

    public void testUrlMappingDataParser() {
        UrlMappingParser parser = new DefaultUrlMappingParser();

        UrlMappingData data = parser.parse("/blog/(*)?/2007/*/*?");

        String[] urls = data.getLogicalUrls();

        assertEquals(3, urls.length);

View Full Code Here

TOP

Related Classes of grails.web.mapping.UrlMappingParser

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.