public class GZIPResponseStream
extends javax.servlet.ServletOutputStream
Modifier and Type | Field and Description |
---|---|
protected ByteArrayOutputStream |
baos |
Constructor and Description |
---|
GZIPResponseStream(ByteArrayOutputStream baos) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
flush
protected ByteArrayOutputStream baos
public GZIPResponseStream(ByteArrayOutputStream baos) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.