Home
last modified time | relevance | path

Searched refs:contextPath (Results 1 – 4 of 4) sorted by relevance

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java55 String contextPath = request.getContextPath(); in getContextRelativePath() local
57 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()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletUtilsTest.java52 private String getContextRelativePath(String contextPath, String requestPath) { in getContextRelativePath() argument
54 expect(mock.getContextPath()).andReturn(contextPath); in getContextRelativePath()
DServletDefinitionPathsTest.java148 final String contextPath, in pathInfoWithServletStyleMatching() argument
197 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithServletStyleMatching()
259 final String contextPath, in pathInfoWithRegexMatching() argument
308 expect(request.getContextPath()).andReturn(contextPath); in pathInfoWithRegexMatching()
DContextPathTest.java240 final String contextPath, in runTest() argument
257 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()