org.tinygroup.weblayer.filter.gzip
| Modifier and Type | Field and 描述 |
|---|---|
protected OutputStream |
cache |
protected boolean |
closed |
protected javax.servlet.ServletOutputStream |
output |
protected javax.servlet.http.HttpServletResponse |
response |
| Constructor and 描述 |
|---|
CacheResponseStream(javax.servlet.http.HttpServletResponse response,
OutputStream cache) |
| Modifier and Type | Method and 描述 |
|---|---|
void |
close() |
boolean |
closed() |
void |
flush() |
void |
reset() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
protected boolean closed
protected javax.servlet.http.HttpServletResponse response
protected javax.servlet.ServletOutputStream output
protected OutputStream cache
public CacheResponseStream(javax.servlet.http.HttpServletResponse response,
OutputStream cache)
throws IOException
IOExceptionpublic void close()
throws IOException
close 接口 {1} 中的 {0} Closeableclose 类 {1} 中的 {0} OutputStreamIOExceptionpublic void flush()
throws IOException
flush 接口 {1} 中的 {0} Flushableflush 类 {1} 中的 {0} OutputStreamIOExceptionpublic void write(int b)
throws IOException
write 类 {1} 中的 {0} OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write 类 {1} 中的 {0} OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write 类 {1} 中的 {0} OutputStreamIOExceptionpublic boolean closed()
public void reset()
Copyright © 2006–2015 TinyGroup. All rights reserved.