Uses of Interface
org.springframework.test.web.servlet.client.RestTestClient.ResponseSpec
Packages that use RestTestClient.ResponseSpec
Package
Description
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.- 
Uses of RestTestClient.ResponseSpec in org.springframework.test.web.servlet.client
Subclasses with type arguments of type RestTestClient.ResponseSpec in org.springframework.test.web.servlet.clientModifier and TypeClassDescriptionclassAssertions on cookies of the response.classAssertions on headers of the response.classAssertions on the response status.Subinterfaces with type arguments of type RestTestClient.ResponseSpec in org.springframework.test.web.servlet.clientModifier and TypeInterfaceDescriptionstatic interfaceMethods in org.springframework.test.web.servlet.client that return RestTestClient.ResponseSpecModifier and TypeMethodDescriptionRestTestClient.RequestHeadersSpec.exchange()Perform the exchange.RestTestClient.RequestHeadersSpec.exchangeSuccessfully()Variant ofRestTestClient.RequestHeadersSpec.exchange()that expects a successful response.RestTestClient.ResponseSpec.expectAll(RestTestClient.ResponseSpec.ResponseSpecConsumer... consumers) Apply multiple assertions to a response with the given consumers, with the guarantee that all assertions will be applied even if one or more assertions fails with an exception.