示例#1
0
 public void onWrittenBody() {
   logger.debug("#writtenBody.cid:" + getChannelId());
   if (asyncFile != null) {
     asyncFile.asyncBuffer(this, asyncFile);
   }
   super.onWrittenBody();
 }
示例#2
0
 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);
 }