接口 javax.servlet.ServletContext
的使用

使用 ServletContext 的软件包
javax.servlet The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container. 
javax.servlet.http The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container. 
javax.servlet.jsp Classes and interfaces for the Core JSP 2.1 API. 
org.apache.jasper   
org.apache.jasper.compiler   
org.apache.jasper.runtime   
org.apache.jasper.servlet   
org.eclipse.jetty.security   
org.eclipse.jetty.security.jaspi   
org.eclipse.jetty.server   
org.eclipse.jetty.server.handler   
org.eclipse.jetty.server.session   
org.eclipse.jetty.servlet   
org.eclipse.jetty.servlets   
org.eclipse.jetty.webapp   
 

javax.servletServletContext 的使用
 

返回 ServletContextjavax.servlet 中的方法
 ServletContext ServletContext.getContext(String uripath)
          Returns a ServletContext object that corresponds to a specified URL on the server.
 ServletContext ServletRequestWrapper.getServletContext()
          Gets the servlet context to which the wrapped servlet request was last dispatched.
 ServletContext ServletRequestEvent.getServletContext()
          Returns the ServletContext of this web application.
 ServletContext ServletRequest.getServletContext()
          Gets the servlet context to which this ServletRequest was last dispatched.
 ServletContext ServletContextEvent.getServletContext()
          Return the ServletContext that changed.
 ServletContext ServletConfig.getServletContext()
          Returns a reference to the ServletContext in which the caller is executing.
 ServletContext GenericServlet.getServletContext()
          Returns a reference to the ServletContext in which this servlet is running.
 ServletContext FilterConfig.getServletContext()
          Returns a reference to the ServletContext in which the caller is executing.
 

参数类型为 ServletContextjavax.servlet 中的方法
 void AsyncContext.dispatch(ServletContext context, String path)
          Dispatches the request and response objects of this AsyncContext to the given path scoped to the given context.
 void ServletContainerInitializer.onStartup(Set<Class<?>> c, ServletContext ctx)
          Notifies this ServletContainerInitializer of the startup of the application represented by the given ServletContext.
 

参数类型为 ServletContextjavax.servlet 中的构造方法
ServletContextAttributeEvent(ServletContext source, String name, Object value)
          Constructs a ServletContextAttributeEvent from the given ServletContext, attribute name, and attribute value.
ServletContextEvent(ServletContext source)
          Construct a ServletContextEvent from the given context.
ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, String name, Object value)
          Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute.
ServletRequestEvent(ServletContext sc, ServletRequest request)
          Construct a ServletRequestEvent for the given ServletContext and ServletRequest.
 

javax.servlet.httpServletContext 的使用
 

返回 ServletContextjavax.servlet.http 中的方法
 ServletContext HttpSession.getServletContext()
          Returns the ServletContext to which this session belongs.
 

javax.servlet.jspServletContext 的使用
 

返回 ServletContextjavax.servlet.jsp 中的方法
abstract  ServletContext PageContext.getServletContext()
          The ServletContext instance.
 

参数类型为 ServletContextjavax.servlet.jsp 中的方法
abstract  JspApplicationContext JspFactory.getJspApplicationContext(ServletContext context)
          Obtains the JspApplicationContext instance associated with the web application for the given ServletContext.
 

org.apache.jasperServletContext 的使用
 

返回 ServletContextorg.apache.jasper 中的方法
 ServletContext JspCompilationContext.getServletContext()
           
 

参数类型为 ServletContextorg.apache.jasper 中的构造方法
EmbeddedServletOptions(ServletConfig config, ServletContext context)
          Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.
JspCompilationContext(String jspUri, boolean isErrPage, Options options, ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt)
           
JspCompilationContext(String tagfile, TagInfo tagInfo, Options options, ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt, URL tagFileJarUrl)
           
 

org.apache.jasper.compilerServletContext 的使用
 

参数类型为 ServletContextorg.apache.jasper.compiler 中的构造方法
JspConfig(ServletContext ctxt)
           
JspRuntimeContext(ServletContext context, Options options)
          Create a JspRuntimeContext for a web application context.
TagPluginManager(ServletContext ctxt)
           
 

org.apache.jasper.runtimeServletContext 的使用
 

返回 ServletContextorg.apache.jasper.runtime 中的方法
 ServletContext PageContextImpl.getServletContext()
           
 ServletContext JspContextWrapper.getServletContext()
           
 

参数类型为 ServletContextorg.apache.jasper.runtime 中的方法
protected static JspApplicationContextImpl JspApplicationContextImpl.findJspApplicationContext(ServletContext context)
           
 JspApplicationContext JspFactoryImpl.getJspApplicationContext(ServletContext context)
           
 void TldScanner.onStartup(Set<Class<?>> c, ServletContext ctxt)
           
static void JspApplicationContextImpl.removeJspApplicationContext(ServletContext context)
           
 

参数类型为 ServletContextorg.apache.jasper.runtime 中的构造方法
JspApplicationContextImpl(ServletContext context)
           
TldScanner(ServletContext ctxt, boolean isValidationEnabled)
          Constructor used in Jasper
 

org.apache.jasper.servletServletContext 的使用
 

实现 ServletContextorg.apache.jasper.servlet 中的类
 class JspCServletContext
          Simple ServletContext implementation without HTTP-specific methods.
 

返回 ServletContextorg.apache.jasper.servlet 中的方法
 ServletContext JspCServletContext.getContext(String uripath)
          Return the servlet context for the specified path.
 ServletContext JspServletWrapper.getServletContext()
           
 

参数类型为 ServletContextorg.apache.jasper.servlet 中的构造方法
JspServletWrapper(ServletContext servletContext, Options options, String tagFilePath, TagInfo tagInfo, JspRuntimeContext rctxt, URL tagFileJarUrl)
           
 

org.eclipse.jetty.securityServletContext 的使用
 

参数类型为 ServletContextorg.eclipse.jetty.security 中的方法
 Authenticator DefaultAuthenticatorFactory.getAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
           
 Authenticator Authenticator.Factory.getAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
           
 

org.eclipse.jetty.security.jaspiServletContext 的使用
 

参数类型为 ServletContextorg.eclipse.jetty.security.jaspi 中的方法
 Authenticator JaspiAuthenticatorFactory.getAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
           
 

org.eclipse.jetty.serverServletContext 的使用
 

返回 ServletContextorg.eclipse.jetty.server 中的方法
 ServletContext AsyncContinuation.AsyncEventState.getDispatchContext()
           
 ServletContext Request.getServletContext()
           
 ServletContext AsyncContinuation.AsyncEventState.getServletContext()
           
 ServletContext AsyncContinuation.AsyncEventState.getSuspendedContext()
           
 

参数类型为 ServletContextorg.eclipse.jetty.server 中的方法
 void AsyncContinuation.dispatch(ServletContext context, String path)
           
protected  void AsyncContinuation.startAsync(ServletContext context, ServletRequest request, ServletResponse response)
           
 

参数类型为 ServletContextorg.eclipse.jetty.server 中的构造方法
AsyncContinuation.AsyncEventState(ServletContext context, ServletRequest request, ServletResponse response)
           
 

org.eclipse.jetty.server.handlerServletContext 的使用
 

实现 ServletContextorg.eclipse.jetty.server.handler 中的类
 class ContextHandler.Context
          Context.
 

返回 ServletContextorg.eclipse.jetty.server.handler 中的方法
 ServletContext ContextHandler.Context.getContext(String uripath)
           
 

org.eclipse.jetty.server.sessionServletContext 的使用
 

返回 ServletContextorg.eclipse.jetty.server.session 中的方法
 ServletContext AbstractSession.getServletContext()
           
 

org.eclipse.jetty.servletServletContext 的使用
 

实现 ServletContextorg.eclipse.jetty.servlet 中的类
 class ServletContextHandler.Context
           
 

声明为 ServletContextorg.eclipse.jetty.servlet 中的字段
protected  ServletContext ErrorPageErrorHandler._servletContext
           
 

返回 ServletContextorg.eclipse.jetty.servlet 中的方法
 ServletContext ServletHandler.getServletContext()
           
 ServletContext Holder.HolderConfig.getServletContext()
           
 

参数类型为 ServletContextorg.eclipse.jetty.servlet 中的方法
protected  ContextHandler DefaultServlet.initContextHandler(ServletContext servletContext)
          Compute the field _contextHandler.
 

org.eclipse.jetty.servletsServletContext 的使用
 

声明为 ServletContextorg.eclipse.jetty.servlets 中的字段
protected  ServletContext ProxyServlet._context
           
protected  ServletContext GzipFilter._context
           
 

org.eclipse.jetty.webappServletContext 的使用
 

实现 ServletContextorg.eclipse.jetty.webapp 中的类
 class WebAppContext.Context
           
 

返回 ServletContextorg.eclipse.jetty.webapp 中的方法
 ServletContext WebAppContext.Context.getContext(String uripath)
           
 



Copyright © 2013. All Rights Reserved.