protected void handleClosed() { super.handleClosed(); if (ws != null) { ws.handleClosed(); } if (pendingResponse != null) { pendingResponse.handleClosed(); } }
private void handleWsFrame(WebSocketFrameInternal frame) { try { if (ws != null) { setContext(); ws.handleFrame(frame); } } catch (Throwable t) { handleHandlerException(t); } }
@Override protected void handleException(Throwable t) { super.handleException(t); if (currentRequest != null) { currentRequest.handleException(t); } if (pendingResponse != null) { pendingResponse.handleException(t); } if (ws != null) { ws.handleException(t); } }
@Override public void handleInterestedOpsChanged() { try { if (!doWriteQueueFull()) { setContext(); if (pendingResponse != null) { pendingResponse.handleDrained(); } else if (ws != null) { ws.writable(); } } } catch (Throwable t) { handleHandlerException(t); } }