We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e9165 commit c6e644eCopy full SHA for c6e644e
spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketSession.java
@@ -306,7 +306,7 @@ private static class Jetty10SessionHelper implements SessionHelper {
306
307
static {
308
try {
309
- Class<?> type = loader.loadClass("org.eclipse.jetty.websocket.api.WebSocketPolicy");
+ Class<?> type = loader.loadClass("org.eclipse.jetty.websocket.api.Session");
310
getTextMessageSizeLimitMethod = type.getMethod("getMaxTextMessageSize");
311
getBinaryMessageSizeLimitMethod = type.getMethod("getMaxBinaryMessageSize");
312
getRemoteAddressMethod = type.getMethod("getRemoteAddress");
0 commit comments