public interface ResultHandler
See static factory methods in
org.springframework.test.web.server.result.MockMvcResultHandlers
.
Example:
static imports: MockMvcRequestBuilders.*, MockMvcResultHandlers.* mockMvc.perform(get("/form")).andDo(print());
void handle(MvcResult result) throws java.lang.Exception
result
- the result of the executed requestjava.lang.Exception
- if a failure occurs