本文整理了Java中org.apache.catalina.connector.Request.getAsyncContextInternal
方法的一些代码示例,展示了Request.getAsyncContextInternal
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getAsyncContextInternal
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:getAsyncContextInternal
暂无
代码示例来源:origin: org.apache.tomee/tomee-catalina
public void invoke(final Request request, final Response response) throws IOException, ServletException {
final OpenEJBSecurityListener listener = new OpenEJBSecurityListener(securityService, request);
if (!request.isAsync() || request.getAsyncContextInternal() == null) {
listener.enter();
try {
getNext().invoke(request, response);
} finally {
listener.exit();
}
} else {
request.getAsyncContextInternal().addListener(new OpenEJBSecurityListener(securityService, request));
// finally continue the invocation
getNext().invoke(request, response);
}
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
request.getAsyncContextInternal().setErrorState(throwable, true);
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
request.getAsyncContextInternal().setErrorState(throwable, true);
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
AsyncContextImpl asyncConImpl = request.getAsyncContextInternal();
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
AsyncContextImpl asyncConImpl = request.getAsyncContextInternal();
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
SystemLogHandler.startCapture();
if (request.isAsyncDispatching()) {
request.getAsyncContextInternal().doInternalDispatch();
} else {
filterChain.doFilter(request.getRequest(),
request.getAsyncContextInternal().doInternalDispatch();
} else {
filterChain.doFilter
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
SystemLogHandler.startCapture();
if (request.isAsyncDispatching()) {
request.getAsyncContextInternal().doInternalDispatch();
} else {
filterChain.doFilter(request.getRequest(),
request.getAsyncContextInternal().doInternalDispatch();
} else {
filterChain.doFilter
内容来源于网络,如有侵权,请联系作者删除!