383881 WebSocketHandler sets request as handled
This commit is contained in:
parent
a519ecc1fb
commit
db8d5089e8
|
@ -51,7 +51,10 @@ public abstract class WebSocketHandler extends HandlerWrapper implements WebSock
|
||||||
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
|
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
|
||||||
{
|
{
|
||||||
if (_webSocketFactory.acceptWebSocket(request,response) || response.isCommitted())
|
if (_webSocketFactory.acceptWebSocket(request,response) || response.isCommitted())
|
||||||
|
{
|
||||||
|
baseRequest.setHandled(true);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
super.handle(target,baseRequest,request,response);
|
super.handle(target,baseRequest,request,response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue