Class GzipHttpInputInterceptor
java.lang.Object
org.eclipse.jetty.server.handler.gzip.GzipHttpInputInterceptor
- All Implemented Interfaces:
HttpInput.Interceptor
,Destroyable
An HttpInput Interceptor that inflates GZIP encoded request content.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBuffer
private final GzipHttpInputInterceptor.Decoder
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_decoder
-
_chunk
-
-
Constructor Details
-
GzipHttpInputInterceptor
-
-
Method Details
-
readFrom
- Specified by:
readFrom
in interfaceHttpInput.Interceptor
- Parameters:
content
- The content to be intercepted (may be empty or aHttpInput.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()- Specified by:
destroy
in interfaceDestroyable
-