Polish ServerSentEventHttpMessageReader

This commit is contained in:
Rossen Stoyanchev
2017-03-08 16:38:58 -05:00
parent d57d3efc89
commit 9aa25c3982
2 changed files with 87 additions and 67 deletions

View File

@@ -85,6 +85,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
.thenCancel()
.verify(Duration.ofSeconds(5L));
}
@Test
public void sseAsPerson() throws Exception {
Flux<Person> result = this.webClient.get()
@@ -230,9 +231,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@Override
public String toString() {
return "Person{" +
"name='" + name + '\'' +
'}';
return "Person{name='" + this.name + '\'' + '}';
}
}