Uses of Interface
org.springframework.test.web.servlet.ResultHandler
Packages that use ResultHandler Package Description org.springframework.test.web.servlet Contains server-side support for testing Spring MVC applications.org.springframework.test.web.servlet.result Contains built-inResultMatcherandResultHandlerimplementations.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilderimplementations.Uses of ResultHandler in org.springframework.test.web.servlet
Methods in org.springframework.test.web.servlet with parameters of type ResultHandler Modifier and Type Method Description ResultActionsResultActions. andDo(ResultHandler handler)Perform a general action.Uses of ResultHandler in org.springframework.test.web.servlet.result
Classes in org.springframework.test.web.servlet.result that implement ResultHandler Modifier and Type Class Description classPrintingResultHandlerResult handler that printsMvcResultdetails to a given output stream — for example:System.out,System.err, a customjava.io.PrintWriter, etc.Methods in org.springframework.test.web.servlet.result that return ResultHandler Modifier and Type Method Description static ResultHandlerMockMvcResultHandlers. log()LogMvcResultdetails as aDEBUGlog message via Apache Commons Logging using the log categoryorg.springframework.test.web.servlet.result.static ResultHandlerMockMvcResultHandlers. print()PrintMvcResultdetails to the "standard" output stream.static ResultHandlerMockMvcResultHandlers. print(OutputStream stream)PrintMvcResultdetails to the suppliedOutputStream.static ResultHandlerMockMvcResultHandlers. print(Writer writer)Uses of ResultHandler in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type ResultHandler Modifier and Type Method Description <T extends B>
TAbstractMockMvcBuilder. alwaysDo(ResultHandler resultHandler)<T extends B>
TConfigurableMockMvcBuilder. alwaysDo(ResultHandler resultHandler)Define a global action that should always be applied to every response.