|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jayway.restassured.internal.LogSpecificationImpl
com.jayway.restassured.internal.RequestLogSpecificationImpl
public class RequestLogSpecificationImpl
| Constructor Summary | |
|---|---|
RequestLogSpecificationImpl()
|
|
| Method Summary | |
|---|---|
RequestSpecification |
all()
Logs everything in the specification, including e.g. |
RequestSpecification |
all(boolean shouldPrettyPrint)
Logs everything in the specification, including e.g. |
RequestSpecification |
body()
Logs only the content of the body. |
RequestSpecification |
body(boolean shouldPrettyPrint)
Logs only the content of the body and pretty-print the body if specified. |
RequestSpecification |
cookies()
Logs only the cookies. |
RequestSpecification |
everything()
Logs everything in the specification, including e.g. |
RequestSpecification |
everything(boolean shouldPrettyPrint)
Logs everything in the specification, including e.g. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
RequestSpecification |
headers()
Logs only the headers. |
Object |
invokeMethod(String method,
Object arguments)
|
RequestSpecification |
parameters()
Logs only the parameters of the request. |
RequestSpecification |
params()
Logs only the parameters of the request. |
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
| Methods inherited from class com.jayway.restassured.internal.LogSpecificationImpl |
|---|
getPrintStream, shouldPrettyPrint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestLogSpecificationImpl()
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class LogSpecificationImplpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class LogSpecificationImpl
public Object invokeMethod(String method,
Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class LogSpecificationImplpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class LogSpecificationImpl
public void setProperty(String property,
Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class LogSpecificationImplpublic RequestSpecification params()
RequestLogSpecificationRequestLogSpecification.parameters() but slightly shorter syntax.
params in interface RequestLogSpecificationpublic RequestSpecification parameters()
RequestLogSpecificationRequestLogSpecification.params() but more explicit syntax.
parameters in interface RequestLogSpecificationpublic RequestSpecification body()
LogSpecification
body in interface LogSpecification<RequestSpecification>public RequestSpecification body(boolean shouldPrettyPrint)
LogSpecification
body in interface LogSpecification<RequestSpecification>shouldPrettyPrint - true if the body should be pretty-printed, false otherwise.
public RequestSpecification all(boolean shouldPrettyPrint)
LogSpecification
all in interface LogSpecification<RequestSpecification>shouldPrettyPrint - true if the body should be pretty-printed, false otherwise.
public RequestSpecification everything(boolean shouldPrettyPrint)
LogSpecification
everything in interface LogSpecification<RequestSpecification>shouldPrettyPrint - true if the body should be pretty-printed, false otherwise.
public RequestSpecification all()
LogSpecification
all in interface LogSpecification<RequestSpecification>public RequestSpecification everything()
LogSpecification
everything in interface LogSpecification<RequestSpecification>public RequestSpecification headers()
LogSpecification
headers in interface LogSpecification<RequestSpecification>public RequestSpecification cookies()
LogSpecification
cookies in interface LogSpecification<RequestSpecification>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||