-
- All Implemented Interfaces:
-
org.springframework.test.web.client.ResponseActions
public final class JSONResponseActions implements ResponseActionsReplacement implementation for ResponseActions, allowing access to the JSONConfig instance discovered through Spring auto-wiring.
-
-
Field Summary
Fields Modifier and Type Field Description private final ResponseActionsresponseActionsprivate final JSONConfigconfig
-
Constructor Summary
Constructors Constructor Description JSONResponseActions(ResponseActions responseActions, JSONConfig config)
-
Method Summary
Modifier and Type Method Description final ResponseActionsgetResponseActions()final JSONConfiggetConfig()JSONResponseActionsandExpect(RequestMatcher requestMatcher)UnitandRespond(ResponseCreator responseCreator)final UnitrespondJSON(HttpStatus status, HttpHeaders headers, Function0<Object> block)-
-
Method Detail
-
getResponseActions
final ResponseActions getResponseActions()
-
getConfig
final JSONConfig getConfig()
-
andExpect
JSONResponseActions andExpect(RequestMatcher requestMatcher)
-
andRespond
Unit andRespond(ResponseCreator responseCreator)
-
respondJSON
final Unit respondJSON(HttpStatus status, HttpHeaders headers, Function0<Object> block)
-
-
-
-