001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package lucee.commons.io;
020
021import javax.servlet.ServletOutputStream;
022
023/**
024 * ServletOutputStream impl.
025 */
026public final class DevNullServletOutputStream extends ServletOutputStream {
027    
028    @Override
029    public void close() {}
030
031    @Override
032    public void flush() {}
033
034    @Override
035    public void write(byte[] b, int off, int len) {}
036
037    @Override
038    public void write(byte[] b) {}
039
040    @Override
041    public void write(int b) {}
042
043    @Override
044    public void print(boolean b) {}
045
046    @Override
047    public void print(char c) {}
048
049    @Override
050    public void print(double d) {}
051
052    @Override
053    public void print(float f) {}
054
055    @Override
056    public void print(int i) {}
057
058    @Override
059    public void print(long l) {}
060
061    @Override
062    public void print(String str) {}
063
064    @Override
065    public void println() {}
066
067    @Override
068    public void println(boolean b) {}
069
070    @Override
071    public void println(char c) {}
072
073    @Override
074    public void println(double d) {}
075
076    @Override
077    public void println(float f) {}
078
079    @Override
080    public void println(int i) {}
081
082    @Override
083    public void println(long l) {}
084
085    @Override
086    public void println(String str) {}
087
088}