public final class OutputStreamMonitor
extends java.io.OutputStream
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OUT_POSTFIX |
Constructor and Description |
---|
OutputStreamMonitor(java.lang.String name,
MonitorRegistry registry,
java.io.OutputStream original) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int offset,
int count) |
void |
write(int oneByte) |
public static final java.lang.String OUT_POSTFIX
public OutputStreamMonitor(java.lang.String name, MonitorRegistry registry, java.io.OutputStream original)
public void write(int oneByte) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] buffer) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] buffer, int offset, int count) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> getHeaders()