Skip to content
Discussion options

You must be logged in to vote

The problem is that <Call name="build" /> is nested inside <Call class="org.eclipse.jetty.compression.server.CompressionConfig" name="builder">, so it is the builder that is passed as argument, and not the CompressionConfig, so you have a mismatch in the signature.

You can move the creation of the configuration outside the arguments, and then reference the CompressionConfig in this way:

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="insertHandler">
    <Arg>
      <New id="CompressionHandler" class="org.eclipse.jetty.compression.server.CompressionHandler">
        <!-- Prepare the configuration -->
        <Call class="org.eclipse.jetty.compression.server.Co…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lglowania
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #14530 on February 18, 2026 11:54.