本文整理了Java中org.apache.catalina.Wrapper.getPipeline()
方法的一些代码示例,展示了Wrapper.getPipeline()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wrapper.getPipeline()
方法的具体详情如下:
包路径:org.apache.catalina.Wrapper
类名称:Wrapper
方法名:getPipeline
暂无
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
代码示例来源:origin: org.glassfish.main.web/web-core
if (wrapper.getPipeline().hasNonBasicValves() ||
wrapper.hasCustomPipeline()) {
wrapper.getPipeline().invoke(request, response);
} else {
GlassFishValve basic = wrapper.getPipeline().getBasic();
if (basic != null) {
basic.invoke(request, response);
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param valveContext Valve context used to forward to the next Valve
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
public final void event(Request request, Response response, HttpEvent httpEvent)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, httpEvent);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
// Normal request processing
// FIXME: Firing request listeners could be an addition to the core
// comet API
//if (context.fireRequestInitEvent(request)) {
wrapper.getPipeline().getFirst().event(request, response, event);
// context.fireRequestDestroyEvent(request);
//}
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Tomcat style invocation.
*/
@Override
public void invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
throws IOException, ServletException {
Wrapper wrapper = preInvoke(request, response);
if (wrapper == null) {
return;
}
/* GlassFish 1343
wrapper.getPipeline().invoke(request, response);
*/
// START GlassFish 1343
if (wrapper.getPipeline().hasNonBasicValves() ||
wrapper.hasCustomPipeline()) {
wrapper.getPipeline().invoke(request, response);
} else {
GlassFishValve basic = wrapper.getPipeline().getBasic();
if (basic != null) {
basic.invoke(request, response);
basic.postInvoke(request, response);
}
}
// END GlassFish 1343
postInvoke(request, response);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
// Normal request processing
// FIXME: Firing request listeners could be an addition to the core
// comet API
//if (context.fireRequestInitEvent(request)) {
wrapper.getPipeline().getFirst().event(request, response, event);
// context.fireRequestDestroyEvent(request);
//}
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
// Normal request processing
// FIXME: Firing request listeners could be an addition to the core
// comet API
//if (context.fireRequestInitEvent(request)) {
wrapper.getPipeline().getFirst().event(request, response, event);
// context.fireRequestDestroyEvent(request);
//}
}
代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-tomcat-7
wrapper.getPipeline().getFirst().event(request, response, event);
代码示例来源:origin: jboss.web/jbossweb
wrapper.getPipeline().getFirst().event(request, response, httpEvent);
代码示例来源:origin: tomcat/catalina
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: org.jboss.web/jbossweb
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: codefollower/Tomcat-Research
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
request.setAsyncSupported(wrapper.getPipeline().isAsyncSupported());
wrapper.getPipeline().getFirst().invoke(request, response);
内容来源于网络,如有侵权,请联系作者删除!