-
- All Implemented Interfaces:
-
org.springframework.test.web.servlet.ResultActions
public final class JSONResultActions implements ResultActionsReplacement for Spring ResultActions (required because many of the Spring classes have non-public constructors).
-
-
Field Summary
Fields Modifier and Type Field Description private final MvcResultmvcResult
-
Constructor Summary
Constructors Constructor Description JSONResultActions(MvcResult mvcResult)
-
Method Summary
Modifier and Type Method Description final MvcResultgetMvcResult()JSONResultActionsandExpect(ResultMatcher matcher)JSONResultActionsandDo(ResultHandler handler)MvcResultandReturn()-
-
Method Detail
-
getMvcResult
final MvcResult getMvcResult()
-
andExpect
JSONResultActions andExpect(ResultMatcher matcher)
-
andDo
JSONResultActions andDo(ResultHandler handler)
-
andReturn
MvcResult andReturn()
-
-
-
-