public void onWrittenBody() { logger.debug("#writtenBody.cid:" + getChannelId()); if (asyncFile != null) { asyncFile.asyncBuffer(this, asyncFile); } super.onWrittenBody(); }
private void responseBodyFromFile(CacheBuffer asyncFile) { Long offset = (Long) getRequestAttribute(ATTRIBUTE_STORE_OFFSET); if (offset != null) { asyncFile.position(offset); } this.asyncFile = asyncFile; asyncFile.asyncBuffer(this, asyncFile); }