Uploaded image for project: 'Pax Web'
  1. PAXWEB-1189

Support for GZipHandler in jetty.xml

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.5
    • Fix Version/s: 8.0.0, 7.2.7
    • Component/s: Jetty Container
    • Labels:
      None
    • Sprint:

      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 :

      <!-- 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>
      

        Attachments

          Activity

            People

            • Assignee:
              ggrzybek Grzegorz Grzybek
              Reporter:
              j3rem1e J Brébec
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: