Searched refs:contextPath (Results 1 – 4 of 4) sorted by relevance
55 String contextPath = request.getContextPath(); in getContextRelativePath() local57 if (contextPath.length() < requestURI.length()) { in getContextRelativePath()58 String suffix = requestURI.substring(contextPath.length()); in getContextRelativePath()60 } else if (requestURI.trim().length() > 0 && contextPath.length() == requestURI.length()) { in getContextRelativePath()
52 private String getContextRelativePath(String contextPath, String requestPath) { in getContextRelativePath() argument54 expect(mock.getContextPath()).andReturn(contextPath); in getContextRelativePath()
148 final String contextPath, in pathInfoWithServletStyleMatching() argument197 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithServletStyleMatching()259 final String contextPath, in pathInfoWithRegexMatching() argument308 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithRegexMatching()
240 final String contextPath, in runTest() argument257 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()