SPR-13080 SseEventBuilder needs event rather than name

This commit is contained in:
Jasper de Vries
2015-05-28 21:30:31 +02:00
committed by Rossen Stoyanchev
parent 3e74476c11
commit ec4783400c
3 changed files with 4 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ public class SseEmitter extends ResponseBodyEmitter {
@Override
public SseEventBuilder name(String name) {
append("name:").append(name != null ? name : "").append("\n");
append("event:").append(name != null ? name : "").append("\n");
return this;
}