Class MockServerWebExchange

java.lang.Object
org.springframework.web.server.adapter.DefaultServerWebExchange
org.springframework.mock.web.server.MockServerWebExchange
All Implemented Interfaces:
ServerWebExchange

public final class MockServerWebExchange extends DefaultServerWebExchange
Extension of DefaultServerWebExchange for use in tests, along with MockServerHttpRequest and MockServerHttpResponse.

See static factory methods to create an instance.

Since:
5.0
Author:
Rossen Stoyanchev