Uses of Interface
org.springframework.test.web.client.ResponseCreator
Packages that use ResponseCreator
Package
Description
Contains client-side REST testing support.
Contains built-in
ResponseCreator
implementations.-
Uses of ResponseCreator in org.springframework.test.web.client
Subinterfaces of ResponseCreator in org.springframework.test.web.clientModifier and TypeInterfaceDescriptioninterface
An extension ofResponseActions
that also implementsRequestMatcher
andResponseCreator
Classes in org.springframework.test.web.client that implement ResponseCreatorModifier and TypeClassDescriptionclass
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 ResponseCreatorModifier and TypeMethodDescriptionprotected ResponseCreator
DefaultRequestExpectation.getResponseCreator()
Methods in org.springframework.test.web.client with parameters of type ResponseCreatorModifier and TypeMethodDescriptionvoid
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 ResponseCreatorModifier and TypeClassDescriptionclass
AResponseCreator
with builder-style methods for adding response details.class
ResponseCreator
that obtains the response by executing the request through aClientHttpRequestFactory
.Methods in org.springframework.test.web.client.response that return ResponseCreatorModifier and TypeMethodDescriptionstatic ResponseCreator
MockRestResponseCreators.withException
(IOException ex) ResponseCreator
with an internal applicationIOException
.