Home
last modified time | relevance | path

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

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java41 String contextPath = request.getContextPath(); in getContextRelativePath() local
43 if (contextPath.length() < requestURI.length()) { in getContextRelativePath()
44 return requestURI.substring(contextPath.length()); in getContextRelativePath()
46 contextPath.length() == requestURI.length()) { in getContextRelativePath()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionPathsTest.java142 private void pathInfoWithServletStyleMatching(final String requestUri, final String contextPath, in pathInfoWithServletStyleMatching() argument
192 .andReturn(contextPath); in pathInfoWithServletStyleMatching()
242 public final void pathInfoWithRegexMatching(final String requestUri, final String contextPath, in pathInfoWithRegexMatching() argument
292 .andReturn(contextPath); in pathInfoWithRegexMatching()
DContextPathTest.java232 private void runTest(final String requestURI, final String servletPath, final String contextPath, in runTest() argument
247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()