public interface LogSpecification<T>
Modifier and Type | Method and Description |
---|---|
T |
all()
Logs everything in the specification, including e.g.
|
T |
all(boolean shouldPrettyPrint)
Logs everything in the specification, including e.g.
|
T |
body()
Logs only the content of the body.
|
T |
body(boolean shouldPrettyPrint)
Logs only the content of the body and pretty-print the body if specified.
|
T |
cookies()
Logs only the cookies.
|
T |
everything()
* Logs everything in the specification, including e.g.
|
T |
everything(boolean shouldPrettyPrint)
* Logs everything in the specification, including e.g.
|
T |
headers()
Logs only the headers.
|
T |
ifValidationFails()
Logs everything if a test validation fails.
|
T |
ifValidationFails(LogDetail logDetail)
Logs with the supplied log detail only if the validation fails.
|
T |
ifValidationFails(LogDetail logDetail,
boolean shouldPrettyPrint)
Logs all parameters only if the validations fail.
|
T body()
T body(boolean shouldPrettyPrint)
shouldPrettyPrint
- true
if the body should be pretty-printed, false
otherwise.T all()
T all(boolean shouldPrettyPrint)
shouldPrettyPrint
- true
if the body should be pretty-printed, false
otherwise.T everything()
T everything(boolean shouldPrettyPrint)
shouldPrettyPrint
- true
if the body should be pretty-printed, false
otherwise.T headers()
T cookies()
T ifValidationFails()
T ifValidationFails(LogDetail logDetail)
logDetail
- The log detailCopyright © 2010–2019. All rights reserved.