Class MockServerHttpRequest

java.lang.Object
org.springframework.http.server.reactive.AbstractServerHttpRequest
org.springframework.mock.http.server.reactive.MockServerHttpRequest
All Implemented Interfaces:
HttpMessage, HttpRequest, ReactiveHttpInputMessage, ServerHttpRequest

public final class MockServerHttpRequest extends AbstractServerHttpRequest
Mock extension of AbstractServerHttpRequest for use in tests without an actual server. Use the static methods to obtain a builder.
Since:
5.0
Author:
Rossen Stoyanchev