public final class InputStreamMonitor
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
java.lang.String |
exception |
Constructor and Description |
---|
InputStreamMonitor(java.lang.String name,
MonitorRegistry registry,
java.io.InputStream original,
MonitoringSocketImpl monSocIm) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int byteOffset,
int byteCount) |
void |
tryToReadHeaders() |
public InputStreamMonitor(java.lang.String name, MonitorRegistry registry, java.io.InputStream original, MonitoringSocketImpl monSocIm)
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] buffer) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] buffer, int byteOffset, int byteCount) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void tryToReadHeaders()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> getHeaders()