Remove ServerWebExchange::getParts and ServerRequest::parts

Revert to state before DefaultMultipartMessageReader
This commit is contained in:
Arjen Poutsma
2019-07-10 16:20:20 +02:00
parent 09572e7b60
commit 2909de8829
11 changed files with 26 additions and 116 deletions

View File

@@ -249,13 +249,6 @@ public final class MockServerRequest implements ServerRequest {
return (Mono<MultiValueMap<String, Part>>) this.body;
}
@Override
@SuppressWarnings("unchecked")
public Flux<Part> parts() {
Assert.state(this.body != null, "No body");
return (Flux<Part>) this.body;
}
@Override
public ServerWebExchange exchange() {
Assert.state(this.exchange != null, "No exchange");