use of jakarta.servlet.ServletResponse in project spring-framework by spring-projects.
the class ServletResponseMethodArgumentResolverTests method setup.
@BeforeEach
public void setup() throws Exception {
resolver = new ServletResponseMethodArgumentResolver();
mavContainer = new ModelAndViewContainer();
servletResponse = new MockHttpServletResponse();
webRequest = new ServletWebRequest(new MockHttpServletRequest(), servletResponse);
method = getClass().getMethod("supportedParams", ServletResponse.class, OutputStream.class, Writer.class);
}
Aggregations