File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spring-websocket/src/main/java/org/springframework/web/socket/server/support Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -480,11 +480,11 @@ project("spring-websocket") {
480
480
}
481
481
optional(" org.glassfish.tyrus:tyrus-websocket-core:1.0" )
482
482
optional(" org.glassfish.tyrus:tyrus-container-servlet:1.0" )
483
- optional(" org.eclipse.jetty:jetty-webapp:9.0.3.v20130506 " ) {
483
+ optional(" org.eclipse.jetty:jetty-webapp:9.0.4.v20130625 " ) {
484
484
exclude group : " org.eclipse.jetty.orbit" , module : " javax.servlet"
485
485
}
486
- optional(" org.eclipse.jetty.websocket:websocket-server:9.0.3.v20130506 " )
487
- optional(" org.eclipse.jetty.websocket:websocket-client:9.0.3.v20130506 " )
486
+ optional(" org.eclipse.jetty.websocket:websocket-server:9.0.4.v20130625 " )
487
+ optional(" org.eclipse.jetty.websocket:websocket-client:9.0.4.v20130625 " )
488
488
optional(" com.fasterxml.jackson.core:jackson-databind:2.2.0" ) // required for SockJS support currently
489
489
}
490
490
Original file line number Diff line number Diff line change 24
24
import org .eclipse .jetty .websocket .api .UpgradeRequest ;
25
25
import org .eclipse .jetty .websocket .api .UpgradeResponse ;
26
26
import org .eclipse .jetty .websocket .server .HandshakeRFC6455 ;
27
- import org .eclipse .jetty .websocket .server .ServletWebSocketRequest ;
28
27
import org .eclipse .jetty .websocket .server .WebSocketServerFactory ;
28
+ import org .eclipse .jetty .websocket .servlet .ServletUpgradeRequest ;
29
29
import org .eclipse .jetty .websocket .servlet .WebSocketCreator ;
30
30
import org .springframework .http .server .ServerHttpRequest ;
31
31
import org .springframework .http .server .ServerHttpResponse ;
@@ -67,8 +67,8 @@ public JettyRequestUpgradeStrategy() {
67
67
this .factory .setCreator (new WebSocketCreator () {
68
68
@ Override
69
69
public Object createWebSocket (UpgradeRequest request , UpgradeResponse response ) {
70
- Assert .isInstanceOf (ServletWebSocketRequest .class , request );
71
- return ((ServletWebSocketRequest ) request ).getServletAttributes ().get (WEBSOCKET_LISTENER_ATTR_NAME );
70
+ Assert .isInstanceOf (ServletUpgradeRequest .class , request );
71
+ return ((ServletUpgradeRequest ) request ).getServletAttributes ().get (WEBSOCKET_LISTENER_ATTR_NAME );
72
72
}
73
73
});
74
74
try {
You can’t perform that action at this time.
0 commit comments