Correct generic type in BodyExtractor for form data

This commit is contained in:
Rossen Stoyanchev
2017-02-08 16:46:58 -05:00
parent f2967467e0
commit 9efa976d31
2 changed files with 2 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ public class BodyExtractorsTests {
@Test
public void toFormData() throws Exception {
BodyExtractor<Mono<MultiValueMap<String, String>>, ServerHttpRequest> extractor = BodyExtractors.toFormData();
BodyExtractor<Mono<MultiValueMap<String, String>>, ReactiveHttpInputMessage> extractor = BodyExtractors.toFormData();
DefaultDataBufferFactory factory = new DefaultDataBufferFactory();
DefaultDataBuffer dataBuffer =