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

Method sendError

java/org/apache/catalina/connector/Response.java:1175–1178  ·  view source on GitHub ↗

{@inheritDoc} Calling sendError with a status code of 103 differs from the usual behavior. Sending 103 will trigger the container to send a "103 Early Hints" informational response including all current headers. The application can continue to use the request and response after call

(int status)

Source from the content-addressed store, hash-verified

1173 * Starting with Tomcat 12, applications should use {@link #sendEarlyHints}.
1174 */
1175 @Override
1176 public void sendError(int status) throws IOException {
1177 sendError(status, null);
1178 }
1179
1180
1181 /**

Callers 1

handleReadExceptionMethod · 0.95

Calls 9

isCommittedMethod · 0.95
sendEarlyHintsMethod · 0.95
setErrorMethod · 0.95
getCoyoteResponseMethod · 0.95
resetBufferMethod · 0.95
setSuspendedMethod · 0.95
getStringMethod · 0.65
setStatusMethod · 0.65
setMessageMethod · 0.65

Tested by

no test coverage detected