Package org.apache.tomcat.lite.http

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


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

        long time = System.currentTimeMillis();
        for (int i = 0; i < N; i++) {
            mappingData.recycle();
View Full Code Here


        }

        long time = System.currentTimeMillis();
        for (int i = 0; i < N; i++) {
            mappingData.recycle();
            mapper.map(host, uri, mappingData);
        }
        // TODO: asserts
        //System.out.println("Elapsed:" + (System.currentTimeMillis() - time));
    }
}
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.