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

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

本文整理了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

  1. @Override
  2. public final SocketState service(SocketWrapperBase<?> socket) throws IOException {
  3. try {
  4. adapter.service(request, response);
  5. } catch (Exception e) {
  6. if (log.isDebugEnabled()) {
  7. log.debug(sm.getString("streamProcessor.service.error"), e);
  8. }
  9. response.setStatus(500);
  10. setErrorState(ErrorState.CLOSE_NOW, e);
  11. }
  12. if (sendfileState == SendfileState.PENDING) {
  13. return SocketState.SENDFILE;
  14. } else if (getErrorState().isError()) {
  15. action(ActionCode.CLOSE, null);
  16. request.updateCounters();
  17. return SocketState.CLOSED;
  18. } else if (isAsync()) {
  19. return SocketState.LONG;
  20. } else {
  21. action(ActionCode.CLOSE, null);
  22. request.updateCounters();
  23. return SocketState.CLOSED;
  24. }
  25. }

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

  1. request.updateCounters();
  2. return SocketState.CLOSED;
  3. } else {
  4. request.updateCounters();
  5. if (error) {
  6. return SocketState.CLOSED;

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

  1. request.updateCounters();
  2. return SocketState.CLOSED;
  3. } else {
  4. request.updateCounters();
  5. if (error) {
  6. return SocketState.CLOSED;

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

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

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

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

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

  1. request.updateCounters();
  2. recycle();
  3. return SocketState.CLOSED;
  4. request.updateCounters();
  5. recycle();
  6. if (error) {

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

  1. if (error) {
  2. response.setStatus(500);
  3. request.updateCounters();
  4. recycle();
  5. input = null;
  6. response.setStatus(500);
  7. request.updateCounters();
  8. recycle();
  9. input = null;

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. req.updateCounters();
  2. req.recycle();
  3. res.recycle();

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

  1. request.updateCounters();
  2. return SocketState.CLOSED;
  3. } else {
  4. request.updateCounters();
  5. if (error) {
  6. return SocketState.CLOSED;

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

  1. request.updateCounters();
  2. return SocketState.CLOSED;
  3. } else if (isAsync()) {
  4. return SocketState.LONG;
  5. } else {
  6. request.updateCounters();
  7. return dispatchEndRequest();

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

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

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

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

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

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

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

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

相关文章

Request类方法