File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-websocket/src/main/java/org/springframework/web/socket Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
import org .springframework .http .HttpHeaders ;
27
27
import org .springframework .lang .Nullable ;
28
28
import org .springframework .util .CollectionUtils ;
29
- import org .springframework .util .MultiValueMap ;
30
29
31
30
/**
32
31
* An {@link org.springframework.http.HttpHeaders} variant that adds support for
@@ -71,7 +70,8 @@ public WebSocketHttpHeaders(HttpHeaders headers) {
71
70
72
71
/**
73
72
* Returns {@code WebSocketHttpHeaders} object that can only be read, not written to.
74
- * @deprecated as of 5.2.7 in favor of {@link HttpHeaders#readOnlyHttpHeaders(MultiValueMap)}
73
+ * @deprecated as of 5.1.16, in favor of calling {@link #WebSocketHttpHeaders(HttpHeaders)}
74
+ * with a read-only wrapper from {@link HttpHeaders#readOnlyHttpHeaders(HttpHeaders)}
75
75
*/
76
76
@ Deprecated
77
77
public static WebSocketHttpHeaders readOnlyWebSocketHttpHeaders (WebSocketHttpHeaders headers ) {
You can’t perform that action at this time.
0 commit comments