Early support for Jakarta Servlet 6.2 and Jakarta Activation 2.2

Closes gh-35670
This commit is contained in:
Juergen Hoeller
2025-10-21 00:42:03 +02:00
parent 29d4a91903
commit 7ca2a5dec5
4 changed files with 21 additions and 4 deletions
@@ -55,7 +55,7 @@ import org.springframework.web.util.WebUtils;
/**
* Mock implementation of the {@link jakarta.servlet.http.HttpServletResponse} interface.
*
* <p>As of Spring 6.0, this set of mocks is designed on a Servlet 6.0 baseline.
* <p>As of Spring 7.0, this set of mocks is designed on a Servlet 6.1 baseline.
*
* @author Juergen Hoeller
* @author Rod Johnson
@@ -827,6 +827,10 @@ public class MockHttpServletResponse implements HttpServletResponse {
return this.errorMessage;
}
// @Override - on Servlet 6.2
public void sendEarlyHints() {
}
//---------------------------------------------------------------------
// Methods for MockRequestDispatcher