public abstract class MockMvcResultHandlers extends 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(OutputStream stream)
Print
MvcResult details to the supplied OutputStream . |
static ResultHandler |
print(Writer 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(OutputStream stream)
MvcResult
details to the supplied OutputStream
.print()
,
print(Writer)
,
log()
public static ResultHandler print(Writer writer)
print()
,
print(OutputStream)
,
log()