/external/jetty/src/java/org/eclipse/jetty/server/handler/jmx/ |
D | AbstractHandlerMBean.java | 97 if (context.getContextPath()!=null && context.getContextPath().length()>0) in getContextName() 99 int idx = context.getContextPath().lastIndexOf('/'); in getContextName() 100 name = idx < 0 ? context.getContextPath() : context.getContextPath().substring(++idx); in getContextName()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletUtilsTest.java | 21 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePath() 31 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePathWithWrongPath() 41 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetContextRelativePathWithRootPath() 51 expect(servletRequest.getContextPath()).andReturn(""); in testGetContextRelativePathWithEmptyPath()
|
D | ServletDispatchIntegrationTest.java | 90 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets() 137 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter() 248 expect(requestMock.getContextPath()) in testForwardUsingRequestDispatcher() 290 expect(requestMock.getContextPath()) in testQueryInRequestUri_regex() 328 expect(requestMock.getContextPath()) in testQueryInRequestUri()
|
D | VarargsFilterDispatchIntegrationTest.java | 70 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline() 109 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire() 149 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
|
D | VarargsServletDispatchIntegrationTest.java | 85 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets() 125 expect(requestMock.getContextPath()) in testVarargsSkipDispatchRequestToManagedPipelineServlets() 168 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter()
|
D | FilterDefinitionTest.java | 108 expect(request.getContextPath()) in testFilterCreateDispatchDestroy() 169 expect(request.getContextPath()) in testFilterCreateDispatchDestroySupressChain() 231 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatching() 266 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testGetFilterIfMatchingNotMatching()
|
D | InjectedFilterPipelineTest.java | 94 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter() 133 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
|
D | FilterDispatchIntegrationTest.java | 101 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline() 157 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire() 198 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
|
D | ContextPathTest.java | 123 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple() 247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
|
D | ContinuingRequestIntegrationTest.java | 128 expect(request.getContextPath()) in testRequestContinuesInOtherThread() 171 expect(request.getContextPath()) in testRequestContinuationDiesInHttpRequestThread()
|
D | ServletDefinitionPathsTest.java | 191 expect(request.getContextPath()) in pathInfoWithServletStyleMatching() 291 expect(request.getContextPath()) in pathInfoWithRegexMatching()
|
D | MultiModuleDispatchIntegrationTest.java | 80 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
|
D | ServletTestUtils.java | 79 @Override public String getContextPath() { in newFakeHttpServletRequest() method
|
D | FilterPipelineTest.java | 78 expect(request.getContextPath()) in testDispatchThruGuiceFilter()
|
D | ServletDefinitionTest.java | 117 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testServiceWithContextPath()
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
D | DefaultHandler.java | 141 writer.write(context.getContextPath()); in handle() 142 … if (context.getContextPath().length()>1 && context.getContextPath().endsWith("/")) in handle() 145 writer.write(context.getContextPath()); in handle() 155 writer.write(context.getContextPath()); in handle()
|
D | ContextHandler.java | 490 public String getContextPath() in getContextPath() method in ContextHandler 695 _logger = Log.getLogger(getDisplayName() == null?getContextPath():getDisplayName()); in doStart() 942 …LOG.debug("scope {}|{}|{} @ {}",baseRequest.getContextPath(),baseRequest.getServletPath(),baseRequ… in doScope() 996 old_context_path = baseRequest.getContextPath(); in doScope() 1014 …LOG.debug("context={}|{}|{} @ {}",baseRequest.getContextPath(),baseRequest.getServletPath(), baseR… in doScope() 1510 b.append('{').append(getContextPath()).append(',').append(getBaseResource()); in toString() 1750 String context_path = ch.getContextPath(); in getContext() 1799 String context_path = ch.getContextPath(); in getContext() 1892 String uri = URIUtil.addPaths(getContextPath(),uriInContext); in getRequestDispatcher() 2181 name = ContextHandler.this.getContextPath(); in getServletContextName() [all …]
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | ServletUtils.java | 41 String contextPath = request.getContextPath(); in getContextRelativePath()
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | UserIdentity.java | 71 String getContextPath(); in getContextPath() method
|
D | Dispatcher.java | 176 attr._contextPath=_contextHandler.getContextPath(); in include() 215 final String old_context_path=baseRequest.getContextPath(); in forward() 271 baseRequest.setContextPath(_contextHandler.getContextPath()); in forward()
|
D | ServletRequestHttpWrapper.java | 96 public String getContextPath() in getContextPath() method in ServletRequestHttpWrapper
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
D | FormAuthenticator.java | 238 nuri = request.getContextPath(); in validateRequest() 266 …nse.sendRedirect(response.encodeRedirectURL(URIUtil.addPaths(request.getContextPath(),_formErrorPa… in validateRequest() 352 …nse.sendRedirect(response.encodeRedirectURL(URIUtil.addPaths(request.getContextPath(),_formLoginPa… in validateRequest()
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
D | JDBCSessionManager.java | 154 _canonicalContext = canonicalize(_context.getContextPath()); in Session() 482 …session = loadSession(idInCluster, canonicalize(_context.getContextPath()), getVirtualHost(_contex… in getSession() 487 …session = loadSession(idInCluster, canonicalize(_context.getContextPath()), getVirtualHost(_contex… in getSession() 1134 String rowId = canonicalize(_context.getContextPath()); in calculateRowId()
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
D | Invoker.java | 217 request.getContextPath()); in service() 288 … return URIUtil.addPaths(URIUtil.addPaths(getContextPath(),_servletPath),_pathInfo);
|
D | ServletHolder.java | 612 public String getContextPath() in getContextPath() method in ServletHolder 614 return _config.getServletContext().getContextPath(); in getContextPath()
|