MCPcopy Create free account
hub / github.com/apache/tomcat / setStatus

Method setStatus

java/org/apache/catalina/connector/Response.java:1335–1348  ·  view source on GitHub ↗
(int status)

Source from the content-addressed store, hash-verified

1333
1334
1335 @Override
1336 public void setStatus(int status) {
1337
1338 if (isCommitted()) {
1339 return;
1340 }
1341
1342 // Ignore any call from an included servlet
1343 if (included) {
1344 return;
1345 }
1346
1347 getCoyoteResponse().setStatus(status);
1348 }
1349
1350
1351 // ------------------------------------------------------ Protected Methods

Callers 2

sendRedirectMethod · 0.95
handleReadExceptionMethod · 0.95

Calls 3

isCommittedMethod · 0.95
getCoyoteResponseMethod · 0.95
setStatusMethod · 0.65

Tested by

no test coverage detected