本文整理了Java中org.apache.catalina.connector.Response.isError
方法的一些代码示例,展示了Response.isError
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Response.isError
方法的具体详情如下:
包路径:org.apache.catalina.connector.Response
类名称:Response
方法名:isError
[英]Error flag accessor.
[中]错误标志访问器。
代码示例来源:origin: org.glassfish.main.web/web-core
boolean isResponseError() {
validateResponse();
return response.isError();
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
if (!response.isError()) {
return;
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
private void updateWrapperErrorCount(Request request, Response response) {
if (response.isError()) {
Wrapper wrapper = request.getWrapper();
if (wrapper != null) {
wrapper.incrementErrorCount();
}
}
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
if (!response.isError()) {
return;
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
private void updateWrapperErrorCount(Request request, Response response) {
if (response.isError()) {
Wrapper wrapper = request.getWrapper();
if (wrapper != null) {
wrapper.incrementErrorCount();
}
}
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
} else {
if (response.isError()) {
Throwable ex = (Throwable) request.getAttribute(RequestDispatcher.ERROR_EXCEPTION);
if (ex instanceof ClientAbortException) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
} else {
if (response.isError()) {
Throwable ex = (Throwable) request.getAttribute(RequestDispatcher.ERROR_EXCEPTION);
if (ex instanceof ClientAbortException) {
代码示例来源:origin: org.apache.tomee/tomee-catalina
final int statusCode = response.getStatus();
if (statusCode < 400 || response.getContentWritten() > 0 ||
!response.isError()) {
return;
代码示例来源:origin: tomcat/catalina
if (!response.isError())
return;
代码示例来源:origin: jboss.web/jbossweb
if (!response.isError())
return;
代码示例来源:origin: org.jboss.web/jbossweb
if (!response.isError())
return;
代码示例来源:origin: jboss.web/jbossweb
if (!response.isClosed() && !response.isError()) {
res.action(ActionCode.ACTION_EVENT_BEGIN,
(request.getAsyncContext() == null) ? Boolean.TRUE : Boolean.FALSE);
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
if (!response.isError())
return;
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
if (!response.isError())
return;
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
if (!response.isError())
return;
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
if (!response.isError())
return;
代码示例来源:origin: codefollower/Tomcat-Research
if (!response.isError()) {
return;
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
if (!response.isError())
return;
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
if (throwable != null && !response.isError()) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
if (throwable != null && !response.isError()) {
内容来源于网络,如有侵权,请联系作者删除!