org.glassfish.grizzly.filterchain.Filter which encodes/decodes data in the GZIP
format.
| Modifier and Type | Field and Description |
|---|---|
| private final GZipDecoder | |
| private final GZipEncoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public | GZipFilter(int
input buffer size inBufferSize, int output buffer size outBufferSize)Construct GZipFilter using specific buffer sizes. |
| decoder | back to summary |
|---|---|
| private final GZipDecoder decoder | |
| encoder | back to summary |
|---|---|
| private final GZipEncoder encoder | |
| GZipFilter | back to summary |
|---|---|
| public GZipFilter() Construct GZipFilter using default buffer sizes. | |
| GZipFilter | back to summary |
|---|---|
| public GZipFilter(int inBufferSize, int outBufferSize) Construct GZipFilter using specific buffer sizes.
| |
| handleClose | back to summary |
|---|---|
| public NextAction handleClose(FilterChainContext ctx) throws IOException Overrides org. Implements org. Method perform the clean up of GZIP encoding/decoding state on a closed
| |
| handleRead | back to summary |
|---|---|
| public NextAction handleRead(FilterChainContext ctx) throws IOException Overrides org. Implements org. Method decodes GZIP encoded data stored in
| |
| handleWrite | back to summary |
|---|---|
| public NextAction handleWrite(FilterChainContext ctx) throws IOException Overrides org. Implements org. Method compresses plain data stored in
| |