本文整理了Java中org.apache.coyote.Request.updateCounters
方法的一些代码示例,展示了Request.updateCounters
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.updateCounters
方法的具体详情如下:
包路径:org.apache.coyote.Request
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!