Uses of Interface
org.springframework.test.web.client.ResponseCreator
Packages that use ResponseCreator Package Description org.springframework.test.web.client Contains client-side REST testing support.org.springframework.test.web.client.response Contains built-inResponseCreatorimplementations.Uses of ResponseCreator in org.springframework.test.web.client
Subinterfaces of ResponseCreator in org.springframework.test.web.client Modifier and Type Interface Description interfaceRequestExpectationAn extension ofResponseActionsthat also implementsRequestMatcherandResponseCreatorClasses in org.springframework.test.web.client that implement ResponseCreator Modifier and Type Class Description classDefaultRequestExpectationDefault implementation ofRequestExpectationthat simply delegates to the request matchers and the response creator it contains.Methods in org.springframework.test.web.client that return ResponseCreator Modifier and Type Method Description protected ResponseCreatorDefaultRequestExpectation. getResponseCreator()Methods in org.springframework.test.web.client with parameters of type ResponseCreator Modifier and Type Method Description voidDefaultRequestExpectation. andRespond(ResponseCreator responseCreator)voidResponseActions. andRespond(ResponseCreator responseCreator)Define the response.Uses of ResponseCreator in org.springframework.test.web.client.response
Classes in org.springframework.test.web.client.response that implement ResponseCreator Modifier and Type Class Description classDefaultResponseCreatorAResponseCreatorwith builder-style methods for adding response details.Methods in org.springframework.test.web.client.response that return ResponseCreator Modifier and Type Method Description static ResponseCreatorMockRestResponseCreators. withException(IOException ex)ResponseCreatorwith an internal applicationIOException.