Package org.apache.roller.ui.core.util

Examples of org.apache.roller.ui.core.util.ByteArrayOutputStreamWrapper


            mLogger.debug("Gzip size:" + byteStream.size());
           
            // Update the Content-Length header.
            res.setContentLength(byteStream.size());
           
            ByteArrayOutputStreamWrapper newOut =
                    (ByteArrayOutputStreamWrapper) responseWrapper.getOutputStream();
            newOut.clear();
            newOut.setFinallized();
           
            /* now force close of OutputStream */
            newOut.write(byteStream.toByteArray());
            newOut.close();
        }
       
    }
View Full Code Here

TOP

Related Classes of org.apache.roller.ui.core.util.ByteArrayOutputStreamWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.