1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -104,13 +104,13 @@ public T data() {
104
104
105
105
@ Override
106
106
public String toString () {
107
- return ("ServerSentEvent [id = '" + this .id + "\ ' , event='" + this .event + "\ ' , retry=" +
107
+ return ("ServerSentEvent [id = '" + this .id + "', event='" + this .event + "', retry=" +
108
108
this .retry + ", comment='" + this .comment + "', data=" + this .data + ']' );
109
109
}
110
110
111
111
112
112
/**
113
- * Return a builder for a {@code SseEvent }.
113
+ * Return a builder for a {@code ServerSentEvent }.
114
114
* @param <T> the type of data that this event contains
115
115
* @return the builder
116
116
*/
@@ -119,7 +119,7 @@ public static <T> Builder<T> builder() {
119
119
}
120
120
121
121
/**
122
- * Return a builder for a {@code SseEvent }, populated with the given {@linkplain #data() data}.
122
+ * Return a builder for a {@code ServerSentEvent }, populated with the given {@linkplain #data() data}.
123
123
* @param <T> the type of data that this event contains
124
124
* @return the builder
125
125
*/
@@ -129,7 +129,7 @@ public static <T> Builder<T> builder(T data) {
129
129
130
130
131
131
/**
132
- * A mutable builder for a {@code SseEvent }.
132
+ * A mutable builder for a {@code ServerSentEvent }.
133
133
*
134
134
* @param <T> the type of data that this event contains
135
135
*/
0 commit comments