Class GzipHttpInputInterceptor

java.lang.Object
org.eclipse.jetty.server.handler.gzip.GzipHttpInputInterceptor
All Implemented Interfaces:
HttpInput.Interceptor, Destroyable

@Deprecated(since="2021-05-27") public class GzipHttpInputInterceptor extends Object implements HttpInput.Interceptor, Destroyable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
An HttpInput Interceptor that inflates GZIP encoded request content.
  • Constructor Details

    • GzipHttpInputInterceptor

      public GzipHttpInputInterceptor(ByteBufferPool pool, int bufferSize)
      Deprecated.
  • Method Details

    • readFrom

      public HttpInput.Content readFrom(HttpInput.Content content)
      Deprecated.
      Specified by:
      readFrom in interface HttpInput.Interceptor
      Parameters:
      content - The content to be intercepted (may be empty or a HttpInput.SentinelContent. The content will be modified with any data the interceptor consumes, but there is no requirement that all the data is consumed by the interceptor.
      Returns:
      The intercepted content or null if interception is completed for that content.
    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface Destroyable