org.apache.coyote.Request.updateCounters()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(242)

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

Request.updateCounters介绍

暂无

代码示例

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

@Override
public final SocketState service(SocketWrapperBase<?> socket) throws IOException {
  try {
    adapter.service(request, response);
  } catch (Exception e) {
    if (log.isDebugEnabled()) {
      log.debug(sm.getString("streamProcessor.service.error"), e);
    }
    response.setStatus(500);
    setErrorState(ErrorState.CLOSE_NOW, e);
  }
  if (sendfileState == SendfileState.PENDING) {
    return SocketState.SENDFILE;
  } else if (getErrorState().isError()) {
    action(ActionCode.CLOSE, null);
    request.updateCounters();
    return SocketState.CLOSED;
  } else if (isAsync()) {
    return SocketState.LONG;
  } else {
    action(ActionCode.CLOSE, null);
    request.updateCounters();
    return SocketState.CLOSED;
  }
}

代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote

request.updateCounters();
  return SocketState.CLOSED;
} else {
request.updateCounters();
if (error) {
  return SocketState.CLOSED;

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

request.updateCounters();
  return SocketState.CLOSED;
} else {
request.updateCounters();
if (error) {
  return SocketState.CLOSED;

代码示例来源:origin: org.glassfish.metro/webservices-extra

request.updateCounters();
adapter.fireAdapterEvent(Adapter.REQUEST_PROCESSING_COMPLETED, 
    request.getRequestProcessor());

代码示例来源:origin: jboss.web/jbossweb

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

request.updateCounters();
  recycle();
  return SocketState.CLOSED;
request.updateCounters();
recycle();
if (error) {

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

if (error) {
  response.setStatus(500);
  request.updateCounters();
  recycle();
  input = null;
  response.setStatus(500);
request.updateCounters();
recycle();
input = null;

代码示例来源:origin: codefollower/Tomcat-Research

request.updateCounters();
rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);

代码示例来源:origin: org.jboss.web/jbossweb

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: jboss.web/jbossweb

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: org.jboss.web/jbossweb

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: org.apache.tomcat/tomcat-spdy

request.updateCounters();
rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

req.updateCounters();
req.recycle();
res.recycle();

代码示例来源:origin: codefollower/Tomcat-Research

request.updateCounters();
  return SocketState.CLOSED;
} else {
request.updateCounters();
if (error) {
  return SocketState.CLOSED;

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

request.updateCounters();
  return SocketState.CLOSED;
} else if (isAsync()) {
  return SocketState.LONG;
} else {
  request.updateCounters();
  return dispatchEndRequest();

代码示例来源:origin: org.jboss.web/jbossweb

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

response.setStatus(500);
request.updateCounters();

代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote

response.setStatus(500);
request.updateCounters();

相关文章

Request类方法