/** * {@inheritDoc} */ public boolean isSupportFileSend() { return ((FileOutputBuffer)response.getOutputBuffer()).isSupportFileSend(); }
/** * {@inheritDoc} */ public long sendFile(FileChannel fileChannel, long position, long length) throws IOException { return ((FileOutputBuffer)response.getOutputBuffer()).sendFile(fileChannel, position, length); }
((FileOutputBuffer) outputBuffer).isSupportFileSend()) { res.flush(); nWrite += ((FileOutputBuffer) outputBuffer).sendFile(fis.getChannel(), nWrite, length - nWrite);
((FileOutputBuffer) outputBuffer).isSupportFileSend()) { res.flush(); while (nWrite < length) { nWrite += ((FileOutputBuffer) outputBuffer). sendFile(fis.getChannel(), nWrite, length - nWrite);