Class PrintingResultHandler

java.lang.Object
org.springframework.test.web.servlet.result.PrintingResultHandler
All Implemented Interfaces:
ResultHandler

public class PrintingResultHandler extends Object implements ResultHandler
Result handler that prints MvcResult details to a given output stream — for example: System.out, System.err, a custom java.io.PrintWriter, etc.

An instance of this class is typically accessed via one of the print or log methods in MockMvcResultHandlers.

Since:
3.2
Author:
Rossen Stoyanchev, Sam Brannen