Package org.apache.tomcat.lite.http

Examples of org.apache.tomcat.lite.http.BaseMapper.addWrapper()


            mapper.addContext(hostN, "", "context0", new String[0], null, null);
            mapper.addContext(hostN, "/foo", "context1", new String[0], null, null);
            mapper.addContext(hostN, "/foo/bar", "context2", welcomes, null, null);
            mapper.addContext(hostN, "/foo/bar/bla", "context3", new String[0], null, null);

            mapper.addWrapper(hostN, "/foo/bar", "/fo/*", "wrapper0");
        }
        int N = 10000;
        for (int i = 0; i < N; i++) {
            mappingData.recycle();
            mapper.map(host, uri, mappingData);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.