Package org.astrogrid.samp.web
Class LoggingCorsHttpServer.CountOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.astrogrid.samp.web.LoggingCorsHttpServer.CountOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- LoggingCorsHttpServer
private static class LoggingCorsHttpServer.CountOutputStream extends java.io.OutputStreamOutputStream subclass which counts the number of bytes it is being asked to write, but otherwise does nothing.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) longcount_
-
Constructor Summary
Constructors Modifier Constructor Description privateCountOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)
-