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-inResponseCreator
implementations.Uses of ResponseCreator in org.springframework.test.web.client
Subinterfaces of ResponseCreator in org.springframework.test.web.client Modifier and Type Interface Description interface
RequestExpectation
An extension ofResponseActions
that also implementsRequestMatcher
andResponseCreator
Classes in org.springframework.test.web.client that implement ResponseCreator Modifier and Type Class Description class
DefaultRequestExpectation
Default implementation ofRequestExpectation
that 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 ResponseCreator
DefaultRequestExpectation. getResponseCreator()
Methods in org.springframework.test.web.client with parameters of type ResponseCreator Modifier and Type Method Description void
DefaultRequestExpectation. andRespond(ResponseCreator responseCreator)
void
ResponseActions. 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 class
DefaultResponseCreator
AResponseCreator
with builder-style methods for adding response details.Methods in org.springframework.test.web.client.response that return ResponseCreator Modifier and Type Method Description static ResponseCreator
MockRestResponseCreators. withException(IOException ex)
ResponseCreator
with an internal applicationIOException
.