Uses of Interface
org.springframework.test.web.client.ResponseCreator
Package
Description
Contains client-side REST testing support.
Contains built-in
ResponseCreator
implementations.-
Uses of ResponseCreator in org.springframework.test.web.client
Modifier and TypeInterfaceDescriptioninterface
An extension ofResponseActions
that also implementsRequestMatcher
andResponseCreator
Modifier and TypeClassDescriptionclass
Default implementation ofRequestExpectation
that simply delegates to the request matchers and the response creator it contains.Modifier and TypeMethodDescriptionprotected ResponseCreator
DefaultRequestExpectation.getResponseCreator()
Modifier and TypeMethodDescriptionvoid
DefaultRequestExpectation.andRespond
(ResponseCreator responseCreator) void
ResponseActions.andRespond
(ResponseCreator responseCreator) Define the response. -
Uses of ResponseCreator in org.springframework.test.web.client.response
Modifier and TypeClassDescriptionclass
AResponseCreator
with builder-style methods for adding response details.class
ResponseCreator
that obtains the response by executing the request through aClientHttpRequestFactory
.Modifier and TypeMethodDescriptionstatic ResponseCreator
MockRestResponseCreators.withException
(IOException ex) ResponseCreator
with an internal applicationIOException
.