Home
last modified time | relevance | path

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

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionPathsTest.java52 servletPath("/index.html", "*.html", "/index.html"); in testServletPathMatching()
53 servletPath("/somewhere/index.html", "*.html", "/somewhere/index.html"); in testServletPathMatching()
54 servletPath("/somewhere/index.html", "/*", ""); in testServletPathMatching()
55 servletPath("/index.html", "/*", ""); in testServletPathMatching()
56 servletPath("/", "/*", ""); in testServletPathMatching()
57 servletPath("//", "/*", ""); in testServletPathMatching()
58 servletPath("/////", "/*", ""); in testServletPathMatching()
59 servletPath("", "/*", ""); in testServletPathMatching()
60 servletPath("/thing/index.html", "/thing/*", "/thing"); in testServletPathMatching()
61 servletPath("/thing/wing/index.html", "/thing/*", "/thing"); in testServletPathMatching()
[all …]
DContextPathTest.java232 private void runTest(final String requestURI, final String servletPath, final String contextPath, in runTest() argument
246 expect(req.getServletPath()).andReturn(servletPath).anyTimes(); in runTest()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletDefinition.java210 String servletPath = getServletPath(); in doService()
211 int servletPathLength = servletPath.length(); in doService()
215 if (pathInfo.startsWith(servletPath)) { in doService()
264 String servletPath = super.getServletPath(); in doService()
265 path = patternMatcher.extractPath(servletPath); in doService()
269 path = servletPath; in doService()