private void handleChunk(Buffer chunk) { try { setContext(); currentRequest.handleData(chunk); } catch (Throwable t) { handleHandlerException(t); } }
private void handleEnd() { try { setContext(); currentRequest.handleEnd(); currentRequest = null; } 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); } }