Home
last modified time | relevance | path

Searched refs:getContextPath (Results 1 – 25 of 50) sorted by relevance

12

/external/jetty/src/java/org/eclipse/jetty/server/handler/jmx/
DAbstractHandlerMBean.java97 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/
DServletUtilsTest.java21 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()
DServletDispatchIntegrationTest.java90 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()
DVarargsFilterDispatchIntegrationTest.java70 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
109 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()
149 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
DVarargsServletDispatchIntegrationTest.java85 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineServlets()
125 expect(requestMock.getContextPath()) in testVarargsSkipDispatchRequestToManagedPipelineServlets()
168 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipelineWithFilter()
DFilterDefinitionTest.java108 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()
DInjectedFilterPipelineTest.java94 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
133 expect(request.getContextPath()) in testDispatchThruInjectedGuiceFilter()
DFilterDispatchIntegrationTest.java101 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
157 expect(requestMock.getContextPath()) in testDispatchThatNoFiltersFire()
198 expect(requestMock.getContextPath()) in testDispatchFilterPipelineWithRegexMatching()
DContextPathTest.java123 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple()
247 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
DContinuingRequestIntegrationTest.java128 expect(request.getContextPath()) in testRequestContinuesInOtherThread()
171 expect(request.getContextPath()) in testRequestContinuationDiesInHttpRequestThread()
DServletDefinitionPathsTest.java191 expect(request.getContextPath()) in pathInfoWithServletStyleMatching()
291 expect(request.getContextPath()) in pathInfoWithRegexMatching()
DMultiModuleDispatchIntegrationTest.java80 expect(requestMock.getContextPath()) in testDispatchRequestToManagedPipeline()
DServletTestUtils.java79 @Override public String getContextPath() { in newFakeHttpServletRequest() method
DFilterPipelineTest.java78 expect(request.getContextPath()) in testDispatchThruGuiceFilter()
DServletDefinitionTest.java117 expect(servletRequest.getContextPath()).andReturn("/a_context_path"); in testServiceWithContextPath()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DDefaultHandler.java141 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()
DContextHandler.java490 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/
DServletUtils.java41 String contextPath = request.getContextPath(); in getContextRelativePath()
/external/jetty/src/java/org/eclipse/jetty/server/
DUserIdentity.java71 String getContextPath(); in getContextPath() method
DDispatcher.java176 attr._contextPath=_contextHandler.getContextPath(); in include()
215 final String old_context_path=baseRequest.getContextPath(); in forward()
271 baseRequest.setContextPath(_contextHandler.getContextPath()); in forward()
DServletRequestHttpWrapper.java96 public String getContextPath() in getContextPath() method in ServletRequestHttpWrapper
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DFormAuthenticator.java238 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/
DJDBCSessionManager.java154 _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/
DInvoker.java217 request.getContextPath()); in service()
288 … return URIUtil.addPaths(URIUtil.addPaths(getContextPath(),_servletPath),_pathInfo);
/external/guice/extensions/servlet/lib/build/
Dservlet-api-2.5.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...

12