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 |
---|---|
int |
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, setWriteListener
public CounterResponseStream(OutputStream output)
output
- OutputStreampublic int getDataLength()
public void reset()
public void write(int i) throws IOException
write
in class FilterServletOutputStream
IOException
public void write(byte[] bytes) throws IOException
write
in class FilterServletOutputStream
IOException
public void write(byte[] bytes, int off, int len) throws IOException
write
in class FilterServletOutputStream
IOException
Copyright © 2008–2017 Emeric Vernat. All rights reserved.