mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Early support for Jakarta Servlet 6.2 and Jakarta Activation 2.2
Closes gh-35670
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user