org.atmosphere.gwt.server.impl
Class CountOutputStream
java.lang.Object
java.io.OutputStream
org.atmosphere.gwt.server.impl.CountOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class CountOutputStream
- extends OutputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountOutputStream
public CountOutputStream(OutputStream out)
getCount
public int getCount()
setIgnoreFlush
public void setIgnoreFlush(boolean ignoreFlush)
isIgnoreFlush
public boolean isIgnoreFlush()
write
public void write(int b)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
IOException
Copyright © 2013. All Rights Reserved.