Home
last modified time | relevance | path

Searched refs:getServletContext (Results 1 – 25 of 41) sorted by relevance

12

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceServletContextListener.java41 final ServletContext servletContext = servletContextEvent.getServletContext(); in contextInitialized()
54 ServletContext servletContext = servletContextEvent.getServletContext(); in contextDestroyed()
DServletModule.java290 protected final ServletContext getServletContext() { in getServletContext() method in ServletModule
291 return GuiceFilter.getServletContext(); in getServletContext()
DGuiceFilter.java158 static ServletContext getServletContext() { in getServletContext() method in GuiceFilter
211 final ServletContext servletContext = filterConfig.getServletContext(); in init()
DInternalServletModule.java77 return GuiceFilter.getServletContext(); in get()
DFilterDefinition.java117 public ServletContext getServletContext() { in init()
/external/jetty/src/java/org/eclipse/jetty/server/
DAsyncContinuation.java359 …liedRequest() || response != _event.getSuppliedResponse() || context != _event.getServletContext()) in doSuspend()
911 ((Context)event.getServletContext()).getContextHandler().handle(run); in start()
931 return ((Context)event.getServletContext()).getContextHandler(); in getContextHandler()
991 …doSuspend(_connection.getRequest().getServletContext(),_connection.getRequest(),_connection.getRes… in startAsync()
1003 doSuspend(_connection.getRequest().getServletContext(),_connection.getRequest(),response); in suspend()
1014 …doSuspend(_connection.getRequest().getServletContext(),_connection.getRequest(),_connection.getRes… in suspend()
1141 public ServletContext getServletContext() in getServletContext() method in AsyncContinuation.AsyncEventState
/external/jetty/src/java/org/eclipse/jetty/servlet/
DServletHolder.java468 _servletHandler.getServletContext().log("unavailable",e); in makeUnavailable()
491 ServletContext ctx = _servletHandler.getServletContext(); in makeUnavailable()
570 …ContextHandler ch = ((ContextHandler.Context)getServletHandler().getServletContext()).getContextHa… in initJspServlet()
603 …ContextHandler ch = ((ContextHandler.Context)getServletHandler().getServletContext()).getContextHa… in initMultiPart()
614 return _config.getServletContext().getContextPath(); in getContextPath()
954 ServletContext ctx = getServletHandler().getServletContext(); in newInstance()
DHolder.java279 … ContextHandler.Context context=(ContextHandler.Context)_servletHandler.getServletContext(); in illegalStateIfContextStarted()
306 public ServletContext getServletContext() in getServletContext() method in Holder.HolderConfig
308 return _servletHandler.getServletContext(); in getServletContext()
DNoJspServlet.java39getServletContext().log("No JSP support. Check that JSP jars are in lib/jsp and that the JSP opti… in doGet()
DFilterHolder.java104 …_filter=((ServletContextHandler.Context)_servletHandler.getServletContext()).createFilter(getHeldC… in doStart()
/external/jetty/src/java/org/eclipse/jetty/webapp/
DWebXmlConfiguration.java62 …context.getServletContext().setEffectiveMajorVersion(context.getMetaData().getWebXml().getMajorVer… in preConfigure()
63 …context.getServletContext().setEffectiveMinorVersion(context.getMetaData().getWebXml().getMinorVer… in preConfigure()
DMetaInfConfiguration.java149 context.getServletContext().log(jarUri+"!/"+name,e); in processEntry()
DMetaData.java360 context.getServletContext().setEffectiveMajorVersion(_webXmlRoot.getMajorVersion()); in resolve()
361 context.getServletContext().setEffectiveMinorVersion(_webXmlRoot.getMinorVersion()); in resolve()
DStandardDescriptorProcessor.java1291 JspConfig config = (JspConfig)context.getServletContext().getJspConfigDescriptor(); in visitTagLib()
1295 context.getServletContext().setJspConfigDescriptor(config); in visitTagLib()
1312 JspConfig config = (JspConfig)context.getServletContext().getJspConfigDescriptor(); in visitJspConfig()
1316 context.getServletContext().setJspConfigDescriptor(config); in visitJspConfig()
1937 return context.getServletContext().createListener(clazz); in newListenerInstance()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionTest.java87 assertNotNull(mockServlet.getServletContext()); in testServletInitAndConfig()
88 assertEquals(contextName, mockServlet.getServletContext().getServletContextName()); in testServletInitAndConfig()
DInjectedFilterPipelineTest.java87 expect(filterConfig.getServletContext()) in testDispatchThruInjectedGuiceFilter()
127 expect(filterConfig.getServletContext()) in testDispatchThruInjectedGuiceFilter()
DContinuingRequestIntegrationTest.java121 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuesInOtherThread()
164 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuationDiesInHttpRequestThread()
DFilterPipelineTest.java71 expect(filterConfig.getServletContext()) in testDispatchThruGuiceFilter()
DContextPathTest.java87 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DCGI.java91 tmp = getServletContext().getRealPath("/"); in init()
95 tmp = getServletContext().getRealPath(tmp); in init()
221 String scriptPath = getServletContext().getRealPath(scriptName); in exec()
278 env.set("SERVER_SOFTWARE", getServletContext().getServerInfo()); in exec()
DConcatServlet.java75 _context=getServletContext(); in init()
DMultiPartFilter.java107 … tempdir=(File)filterConfig.getServletContext().getAttribute("javax.servlet.context.tempdir"); in init()
119 _context=filterConfig.getServletContext(); in init()
DQoSFilter.java108 _context=filterConfig.getServletContext(); in init()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DErrorHandler.java74 if (error_page!=null && request.getServletContext()!=null) in handle()
81 … Dispatcher dispatcher = (Dispatcher) request.getServletContext().getRequestDispatcher(error_page); in handle()
/external/jetty/src/java/org/eclipse/jetty/continuation/
DContinuationFilter.java66 _context = filterConfig.getServletContext(); in init()

12