Searched refs:contextPath (Results 1 – 3 of 3) sorted by relevance
41 String contextPath = request.getContextPath(); in getContextRelativePath() local43 if (contextPath.length() < requestURI.length()) { in getContextRelativePath()44 return requestURI.substring(contextPath.length()); in getContextRelativePath()46 contextPath.length() == requestURI.length()) { in getContextRelativePath()
142 private void pathInfoWithServletStyleMatching(final String requestUri, final String contextPath, in pathInfoWithServletStyleMatching() argument192 .andReturn(contextPath); in pathInfoWithServletStyleMatching()242 public final void pathInfoWithRegexMatching(final String requestUri, final String contextPath, in pathInfoWithRegexMatching() argument292 .andReturn(contextPath); in pathInfoWithRegexMatching()
232 private void runTest(final String requestURI, final String servletPath, final String contextPath, in runTest() argument247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()