public class GZipResponseStreamWrapper extends Object implements ResponseStreamWrapper
ResponseStreamWrapper that compresses the response output to GZip format and sets the proper response
headers.| Modifier and Type | Field and Description |
|---|---|
static String |
STREAM_KEY |
| Constructor and Description |
|---|
GZipResponseStreamWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(HttpServletRewrite rewrite) |
OutputStream |
wrap(HttpServletRewrite rewrite,
OutputStream outputStream) |
public static final String STREAM_KEY
public OutputStream wrap(HttpServletRewrite rewrite, OutputStream outputStream)
wrap in interface ResponseStreamWrapperpublic void finish(HttpServletRewrite rewrite)
finish in interface ResponseStreamWrapperCopyright © 2023 OCPsoft. All rights reserved.