org.apache.catalina.connector.Request.getAsyncContextInternal()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中org.apache.catalina.connector.Request.getAsyncContextInternal方法的一些代码示例,展示了Request.getAsyncContextInternal的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getAsyncContextInternal方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:getAsyncContextInternal

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

相关文章

Request类方法