Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2012-08-08 11:25:14 -0400
committerJoakim Erdfelt2012-08-08 11:31:44 -0400
commit1a62c5ded62e1f1dd8ebf96d51b506bb600e6ff9 (patch)
tree95e507f1bb783eba203be2fd06ee2ecf2a5895f4 /jetty-websocket
parent0ddbdda2800768bc637ce727cbf3ee16b9b99f84 (diff)
downloadorg.eclipse.jetty.project-1a62c5ded62e1f1dd8ebf96d51b506bb600e6ff9.tar.gz
org.eclipse.jetty.project-1a62c5ded62e1f1dd8ebf96d51b506bb600e6ff9.tar.xz
org.eclipse.jetty.project-1a62c5ded62e1f1dd8ebf96d51b506bb600e6ff9.zip
Fixing websocket example to use creator
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketServlet.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketServlet.java b/jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketServlet.java
index 2548c0e589..5d660b9c11 100644
--- a/jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketServlet.java
+++ b/jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketServlet.java
@@ -132,7 +132,7 @@ public abstract class WebSocketServlet extends HttpServlet
policy.setMaxBinaryMessageSize(Integer.parseInt(max));
}
- webSocketFactory = newWebSocketServerFactory(policy);
+ webSocketFactory = new WebSocketServerFactory(policy);
registerWebSockets(webSocketFactory);
@@ -144,15 +144,6 @@ public abstract class WebSocketServlet extends HttpServlet
}
}
- /**
- * Create a new WebSocketServerFactory.
- * This methods allows the factory instance to be overridden by derived Servlets.
- */
- protected WebSocketServerFactory newWebSocketServerFactory(WebSocketPolicy policy)
- {
- return new WebSocketServerFactory(policy);
- }
-
public abstract void registerWebSockets(WebSocketServerFactory factory);
/**

Back to the top