SPR-13080 SseEventBuilder needs event rather than name

This commit is contained in:
Jasper de Vries
2015-06-01 10:02:28 -04:00
committed by Rossen Stoyanchev
parent 3e74476c11
commit ec4783400c
3 changed files with 4 additions and 4 deletions
@@ -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;
}