Searched refs:getContextRelativePath (Results 1 – 4 of 4) sorted by relevance
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletUtilsTest.java | 21 "/test.html", getContextRelativePath("/a_context_path", "/a_context_path/test.html")); in testGetContextRelativePath() 22 assertEquals("/test.html", getContextRelativePath("", "/test.html")); in testGetContextRelativePath() 23 assertEquals("/test.html", getContextRelativePath("", "/foo/../test.html")); in testGetContextRelativePath() 24 assertEquals("/test.html", getContextRelativePath("", "/././foo/../test.html")); in testGetContextRelativePath() 25 assertEquals("/test.html", getContextRelativePath("", "/foo/../../../../test.html")); in testGetContextRelativePath() 26 assertEquals("/test.html", getContextRelativePath("", "/foo/%2E%2E/test.html")); in testGetContextRelativePath() 28 assertEquals("/test.html", getContextRelativePath("", "/foo/%2E%2E/test.html")); in testGetContextRelativePath() 30 assertEquals("/foo/%2F/test.html", getContextRelativePath("", "/foo/%2F/test.html")); in testGetContextRelativePath() 32 assertEquals("/foo.html", getContextRelativePath("", "/%66oo.html")); in testGetContextRelativePath() 36 assertEquals("/foo?q=f", getContextRelativePath("", "/foo?q=f")); in testGetContextRelativePath_preserveQuery() [all …]
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | FilterDefinition.java | 158 final String path = ServletUtils.getContextRelativePath(request); in getFilterIfMatching()
|
D | ServletUtils.java | 51 static String getContextRelativePath( in getContextRelativePath() method in ServletUtils
|
D | ServletDefinition.java | 178 final String path = ServletUtils.getContextRelativePath(request); in service()
|