2017-09-10 13:57
我也遇到这个问题了。写了一个@ServerEndpoint("/websocket")
public class WebSocketController {...},没有走到。
public class ZhiWebSocketHandler extends Handler {
...@Override
public void handle(String target, HttpServletRequest request, HttpServletResponse response, boolean[] isHandled) {
// TODO Auto-generated method stub
if (filterUrlRegxPattern.matcher(target).find())
return ;
else {
next.handle(target, request, response, isHandled);
}
}
此处的else走到了。
@JFinal