Finish reverting change to ServletUpgradeRequest from websocket-ssl branch that was missed

This commit is contained in:
Joakim Erdfelt 2013-06-18 07:05:27 -07:00
parent 117b086f26
commit a6ef027232
1 changed files with 6 additions and 2 deletions

View File

@ -140,8 +140,12 @@ public class WebSocketServerFactory extends ContainerLifeCycle implements WebSoc
{
try
{
ServletUpgradeRequest sockreq = new ServletUpgradeRequest(request);
ServletUpgradeResponse sockresp = new ServletUpgradeResponse(response);
// TODO: use ServletUpgradeRequest in Jetty 9.1
@SuppressWarnings("deprecation")
ServletWebSocketRequest sockreq = new ServletWebSocketRequest(request);
// TODO: use ServletUpgradeResponse in Jetty 9.1
@SuppressWarnings("deprecation")
ServletWebSocketResponse sockresp = new ServletWebSocketResponse(response);
WebSocketCreator creator = getCreator();