| Package | Description |
|---|---|
| com.jayway.restassured.builder | |
| com.jayway.restassured.filter.log | |
| com.jayway.restassured.internal.print |
| Modifier and Type | Method and Description |
|---|---|
RequestSpecBuilder |
RequestSpecBuilder.log(LogDetail logDetail)
Enabled logging with the specified log detail.
|
| Modifier and Type | Method and Description |
|---|---|
static LogDetail |
LogDetail.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogDetail[] |
LogDetail.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
ResponseLoggingFilter.logResponseTo(PrintStream stream,
LogDetail logDetail)
Create a new logging filter without using the "new" operator.
|
| Constructor and Description |
|---|
RequestLoggingFilter(LogDetail logDetail)
Logs with a specific detail to System.out
|
RequestLoggingFilter(LogDetail logDetail,
boolean shouldPrettyPrint,
PrintStream stream)
Instantiate a logger using a specific print stream and a specific log detail
|
RequestLoggingFilter(LogDetail logDetail,
PrintStream stream)
Instantiate a logger using a specific print stream and a specific log detail.
|
ResponseLoggingFilter(LogDetail logDetail)
Instantiate a logger using the supplied log detail.
|
ResponseLoggingFilter(LogDetail logDetail,
boolean shouldPrettyPrint,
PrintStream stream)
Instantiate a logger using a specific print stream for all status codes
|
ResponseLoggingFilter(LogDetail logDetail,
boolean prettyPrint,
PrintStream stream,
int statusCode)
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
|
ResponseLoggingFilter(LogDetail logDetail,
boolean prettyPrint,
PrintStream stream,
org.hamcrest.Matcher<Integer> matcher)
Instantiate a logger using a specific print stream for status codes matching the supplied matcher.
|
ResponseLoggingFilter(LogDetail logDetail,
PrintStream stream)
Instantiate a logger using a specific print stream for all status codes
|
ResponseLoggingFilter(LogDetail logDetail,
PrintStream stream,
int statusCode)
Instantiate a logger using a specific print stream for status codes matching the supplied status code.
|
ResponseLoggingFilter(LogDetail logDetail,
PrintStream stream,
org.hamcrest.Matcher<Integer> matcher)
Instantiate a logger using a specific print stream for status codes matching the supplied matcher.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ResponsePrinter.print(ResponseOptions responseOptions,
ResponseBody responseBody,
PrintStream stream,
LogDetail logDetail,
boolean shouldPrettyPrint)
Prints the response to the print stream
|
Copyright © 2010–2014. All rights reserved.