File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
spring-websocket/src/main/java/org/springframework/web/socket Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .web .socket ;
18
18
19
- import org .springframework .util .Assert ;
20
- import org .springframework .util .ObjectUtils ;
21
-
22
19
/**
23
20
* A message that can be handled or sent on a WebSocket connection.
24
21
*
@@ -35,9 +32,9 @@ public interface WebSocketMessage<T> {
35
32
/**
36
33
* When partial message support is available and requested via
37
34
* {@link org.springframework.web.socket.WebSocketHandler#supportsPartialMessages()},
38
- * this method returns {@literal true} if the current message is the last part of
39
- * the complete WebSocket message sent by the client. Otherwise {@literal false}
40
- * is returned if partial message support is either not available or not enabled.
35
+ * this method returns {@code true} if the current message is the last part of the
36
+ * complete WebSocket message sent by the client. Otherwise {@code false} is returned
37
+ * if partial message support is either not available or not enabled.
41
38
*/
42
39
boolean isLast ();
43
40
Original file line number Diff line number Diff line change 35
35
import org .springframework .web .socket .WebSocketHandler ;
36
36
import org .springframework .web .socket .support .ExceptionWebSocketHandlerDecorator ;
37
37
38
- import java .nio .ByteBuffer ;
39
-
40
38
/**
41
39
* Adapts {@link WebSocketHandler} to the Jetty 9 WebSocket API.
42
40
*
You can’t perform that action at this time.
0 commit comments