public abstract class MockMvcResultHandlers
extends java.lang.Object
ResultHandler
-based result actions.
Consider adding this class as a Java editor favorite. To navigate to this setting, open the Preferences and type "favorites".
Constructor and Description |
---|
MockMvcResultHandlers() |
Modifier and Type | Method and Description |
---|---|
static ResultHandler |
log()
Log
MvcResult details as a DEBUG log message via
Apache Commons Logging using the log category
org.springframework.test.web.servlet.result . |
static ResultHandler |
print()
Print
MvcResult details to the "standard" output stream. |
static ResultHandler |
print(java.io.OutputStream stream)
Print
MvcResult details to the supplied OutputStream . |
static ResultHandler |
print(java.io.Writer writer)
Print
MvcResult details to the supplied Writer . |
public static ResultHandler log()
MvcResult
details as a DEBUG
log message via
Apache Commons Logging using the log category
org.springframework.test.web.servlet.result
.print()
,
print(OutputStream)
,
print(Writer)
public static ResultHandler print()
MvcResult
details to the "standard" output stream.System.out
,
print(OutputStream)
,
print(Writer)
,
log()
public static ResultHandler print(java.io.OutputStream stream)
MvcResult
details to the supplied OutputStream
.print()
,
print(Writer)
,
log()
public static ResultHandler print(java.io.Writer writer)
MvcResult
details to the supplied Writer
.print()
,
print(OutputStream)
,
log()