Class MockMvcRequestLogSpecificationImpl
java.lang.Object
io.restassured.internal.LogSpecificationImpl
io.restassured.module.mockmvc.internal.MockMvcRequestLogSpecificationImpl
- All Implemented Interfaces:
groovy.lang.GroovyObject,MockMvcRequestLogSpecification,io.restassured.specification.LogSpecification<MockMvcRequestSpecification>
public class MockMvcRequestLogSpecificationImpl
extends io.restassured.internal.LogSpecificationImpl
implements MockMvcRequestLogSpecification
-
Constructor Summary
ConstructorsConstructorDescriptionMockMvcRequestLogSpecificationImpl(MockMvcRequestSpecificationImpl requestSpecification) -
Method Summary
Modifier and TypeMethodDescriptionall()all(boolean shouldPrettyPrint) body()body(boolean shouldPrettyPrint) cookies()everything(boolean shouldPrettyPrint) headers()ifValidationFails(io.restassured.filter.log.LogDetail logDetail) ifValidationFails(io.restassured.filter.log.LogDetail logDetail, boolean shouldPrettyPrint) Logs only the parameters of the request.params()Logs only the parameters of the request.Methods inherited from class io.restassured.internal.LogSpecificationImpl
getMetaClass, getPrintStream, setMetaClass, shouldPrettyPrint, shouldUrlEncodeRequestUriMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
MockMvcRequestLogSpecificationImpl
-
-
Method Details
-
params
Description copied from interface:MockMvcRequestLogSpecificationLogs only the parameters of the request. Same asMockMvcRequestLogSpecification.parameters()but slightly shorter syntax.- Specified by:
paramsin interfaceMockMvcRequestLogSpecification- Returns:
- The response specification
-
parameters
Description copied from interface:MockMvcRequestLogSpecificationLogs only the parameters of the request. Same asMockMvcRequestLogSpecification.params()but more explicit syntax.- Specified by:
parametersin interfaceMockMvcRequestLogSpecification- Returns:
- The response specification
-
body
- Specified by:
bodyin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
body
- Specified by:
bodyin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
all
- Specified by:
allin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
everything
- Specified by:
everythingin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
all
- Specified by:
allin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
everything
- Specified by:
everythingin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
headers
- Specified by:
headersin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
cookies
- Specified by:
cookiesin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
ifValidationFails
- Specified by:
ifValidationFailsin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
ifValidationFails
- Specified by:
ifValidationFailsin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-
ifValidationFails
public MockMvcRequestSpecification ifValidationFails(io.restassured.filter.log.LogDetail logDetail, boolean shouldPrettyPrint) - Specified by:
ifValidationFailsin interfaceio.restassured.specification.LogSpecification<MockMvcRequestSpecification>
-