Package org.jboss.resteasy.plugins.interceptors

## Class GZIPEncodingInterceptor

- java.lang.Object
- - org.jboss.resteasy.plugins.interceptors.GZIPEncodingInterceptor

- All Implemented Interfaces:
    `javax.ws.rs.ext.WriterInterceptor`

      @Provider
      @Priority(4000)
      public class GZIPEncodingInterceptor
      extends Object
      implements javax.ws.rs.ext.WriterInterceptor

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `GZIPEncodingInterceptor.CommittedGZIPOutputStream` |
    `static class` | `GZIPEncodingInterceptor.EndableGZIPOutputStream` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GZIPEncodingInterceptor()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `aroundWriteTo​(javax.ws.rs.ext.WriterInterceptorContext context)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GZIPEncodingInterceptor

          public GZIPEncodingInterceptor()

  - ### Method Detail

    - #### aroundWriteTo

          public void aroundWriteTo​(javax.ws.rs.ext.WriterInterceptorContext context)
                             throws IOException,
                                    javax.ws.rs.WebApplicationException

      Specified by:
        `aroundWriteTo` in interface `javax.ws.rs.ext.WriterInterceptor`
      Throws:
        `IOException`
        `javax.ws.rs.WebApplicationException`