Class MockMvcResultHandlers
java.lang.Object
org.springframework.test.web.servlet.result.MockMvcResultHandlers
Static factory methods for
ResultHandler
-based result actions.
Eclipse Users
Consider adding this class as a Java editor favorite. To navigate to this setting, open the Preferences and type "favorites".
- Since:
- 3.2
- Author:
- Rossen Stoyanchev, Sam Brannen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultHandler
log()
LogMvcResult
details as aDEBUG
log message via Apache Commons Logging using the log categoryorg.springframework.test.web.servlet.result
.static ResultHandler
print()
PrintMvcResult
details to the "standard" output stream.static ResultHandler
print
(OutputStream stream) PrintMvcResult
details to the suppliedOutputStream
.static ResultHandler
-
Constructor Details
-
MockMvcResultHandlers
public MockMvcResultHandlers()
-
-
Method Details
-
log
LogMvcResult
details as aDEBUG
log message via Apache Commons Logging using the log categoryorg.springframework.test.web.servlet.result
.- Since:
- 4.2
- See Also:
-
print
PrintMvcResult
details to the "standard" output stream.- See Also:
-
print
PrintMvcResult
details to the suppliedOutputStream
.- Since:
- 4.2
- See Also:
-
print
- Since:
- 4.2
- See Also:
-