001/* 002 * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl-2.1.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Florent Guillaume 016 */ 017package org.nuxeo.ecm.platform.web.common.requestcontroller.filter; 018 019import java.io.IOException; 020import java.io.OutputStream; 021 022/** 023 * @deprecated since 7.3, use {@link org.nuxeo.ecm.core.io.download.BufferingServletOutputStream} instead. 024 */ 025@Deprecated 026public class BufferingServletOutputStream { 027 028 /** 029 * @deprecated since 7.3, use 030 * {@link org.nuxeo.ecm.core.io.download.BufferingServletOutputStream#stopBuffering(OutputStream)} 031 * instead 032 */ 033 @Deprecated 034 public static void stopBuffering(OutputStream out) throws IOException { 035 org.nuxeo.ecm.core.io.download.BufferingServletOutputStream.stopBuffering(out); 036 } 037 038 /** 039 * @deprecated since 7.3, use 040 * {@link org.nuxeo.ecm.core.io.download.BufferingServletOutputStream#stopBufferingThread} instead 041 */ 042 @Deprecated 043 public static void stopBufferingThread() throws IOException { 044 org.nuxeo.ecm.core.io.download.BufferingServletOutputStream.stopBufferingThread(); 045 } 046 047}