本文整理了Java中org.mortbay.jetty.servlet.ServletHandler.initialize()
方法的一些代码示例,展示了ServletHandler.initialize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ServletHandler.initialize()
方法的具体详情如下:
包路径:org.mortbay.jetty.servlet.ServletHandler
类名称:ServletHandler
方法名:initialize
[英]Initialize filters and load-on-startup servlets. Called automatically from start if autoInitializeServlet is true.
[中]初始化过滤器并在启动servlet时加载。如果autoInitializeServlet为true,则从开始自动调用。
代码示例来源:origin: org.mortbay.jetty/com.springsource.org.mortbay.jetty.server
/**
* @see org.mortbay.jetty.handler.ContextHandler#startContext()
*/
protected void startContext() throws Exception
{
super.startContext();
// OK to Initialize servlet handler now
if (_servletHandler != null && _servletHandler.isStarted())
_servletHandler.initialize();
}
代码示例来源:origin: org.mortbay.jetty/com.springsource.org.mortbay.jetty.server
protected synchronized void doStart()
throws Exception
{
_servletContext=ContextHandler.getCurrentContext();
_contextHandler=_servletContext==null?null:_servletContext.getContextHandler();
updateNameMappings();
updateMappings();
if(_filterChainsCached)
_chainCache= new HashMap[]{null,new HashMap(),new HashMap(),null,new HashMap(),null,null,null,new HashMap()};
super.doStart();
if (_contextHandler==null || !(_contextHandler instanceof Context))
initialize();
}
代码示例来源:origin: net.jxta/jxta-jxse
handler.initialize(handlerContext);
代码示例来源:origin: org.mortbay.jetty/com.springsource.org.mortbay.jetty.server
initialize();
内容来源于网络,如有侵权,请联系作者删除!