Polishing

- Changed Response.sse methods to allow for specific Publisher types to
 be returned in Response.
This commit is contained in:
Arjen Poutsma
2016-09-09 10:53:15 +02:00
parent d51005fbbe
commit f4ae831f7f
4 changed files with 14 additions and 15 deletions

View File

@@ -43,7 +43,7 @@ public class ServerSentEventResponseTests {
private final Publisher<ServerSentEvent<String>> body = Mono.just(sse);
private final ServerSentEventResponse<ServerSentEvent<String>> sseResponse =
private final ServerSentEventResponse<Publisher<ServerSentEvent<String>>> sseResponse =
ServerSentEventResponse.fromSseEvents(200, new HttpHeaders(), body);
@Test