public class CounterResponseStream extends FilterServletOutputStream
CounterServletResponseWrapper.| Constructor and Description |
|---|
CounterResponseStream(OutputStream output)
Construit un servlet output stream associé avec l'output stream spécifiée.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDataLength()
Retourne la valeur de la propriété dataLength.
|
void |
reset()
Réinitialiser dataLength à 0.
|
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(int i) |
close, flush, isReady, setWriteListenerpublic CounterResponseStream(OutputStream output)
output - OutputStreampublic long getDataLength()
public void reset()
public void write(int i)
throws IOException
write in class FilterServletOutputStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
write in class FilterServletOutputStreamIOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws IOException
write in class FilterServletOutputStreamIOExceptionCopyright © 2008–2020 Emeric Vernat. All rights reserved.