We're updating the issue view to help you get more done. 

Support for GZipHandler in jetty.xml

Description

It should be possible to add a GzipHandler in the jetty.xml configuration file.

This kind of handler (HandlerWrapper) doesn't look like to be supported: PaxWeb assumes that the first handler is of type JettyServerCollectionHandler.

I have attached a patch with allow me to configure this handler with the following xml fragment :

1 2 3 4 5 6 7 8 9 10 <!-- GZIP --> <Get id="OldHandler" name="handler"/> <Set name="handler"> <New id="GzipHandler" class="org.eclipse.jetty.server.handler.gzip.GzipHandler"> <Set name="handler"> <Ref id="OldHandler"/> </Set> </New> </Set>

Environment

None

Status

Assignee

Grzegorz Grzybek

Reporter

J Brébec

Labels

None

Components

Fix versions

Affects versions

7.2.5

Priority

Major