Skip to content

Commit

Permalink
Code clean-up - formatting. No functional change.
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Nov 6, 2024
1 parent 3c3337a commit 0ad95b2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 32 deletions.
28 changes: 12 additions & 16 deletions java/org/apache/catalina/connector/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -1054,14 +1054,12 @@ public void sendEarlyHints() {

/**
* {@inheritDoc}
*
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103 status code,
* including triggering a more typical response of any type.
*
* <p>
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103
* status code, including triggering a more typical response of any type.
* <p>
* Starting with Tomcat 12, applications should use {@link #sendEarlyHints}.
*/
@Override
Expand All @@ -1072,14 +1070,12 @@ public void sendError(int status) throws IOException {

/**
* {@inheritDoc}
*
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103 status code,
* including triggering a more typical response of any type.
*
* <p>
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103
* status code, including triggering a more typical response of any type.
* <p>
* Starting with Tomcat 12, applications should use {@link #sendEarlyHints}.
*/
@Override
Expand Down
28 changes: 12 additions & 16 deletions java/org/apache/catalina/connector/ResponseFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,12 @@ public void sendEarlyHints() {

/**
* {@inheritDoc}
*
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103 status code,
* including triggering a more typical response of any type.
*
* <p>
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103
* status code, including triggering a more typical response of any type.
* <p>
* Starting with Tomcat 12, applications should use {@link #sendEarlyHints}.
*/
@Override
Expand All @@ -276,14 +274,12 @@ public void sendError(int sc, String msg) throws IOException {

/**
* {@inheritDoc}
*
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103 status code,
* including triggering a more typical response of any type.
*
* <p>
* <i>Deprecated functionality</i>: calling <code>sendError</code> 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 calling sendError with a 103
* status code, including triggering a more typical response of any type.
* <p>
* Starting with Tomcat 12, applications should use {@link #sendEarlyHints}.
*/
@Override
Expand Down

0 comments on commit 0ad95b2

Please sign in to comment.