Class DheVersionHeaderCustomizer

java.lang.Object
com.illumon.iris.web.server.DheVersionHeaderCustomizer
All Implemented Interfaces:
org.eclipse.jetty.server.HttpConfiguration.Customizer

public class DheVersionHeaderCustomizer extends Object implements org.eclipse.jetty.server.HttpConfiguration.Customizer
Optionally adds an X-Deephaven-Enterprise-Version response header containing the DHE version and/or an X-Deephaven-Enterprise-VCS-Version response header containing the DHE VCS version. Controlled by the global properties http.add.header.X-Deephaven-Enterprise-Version.enabled and http.add.header.X-Deephaven-Enterprise-VCS-Version.enabled.
  • Constructor Details

    • DheVersionHeaderCustomizer

      public DheVersionHeaderCustomizer()
  • Method Details

    • customize

      public org.eclipse.jetty.server.Request customize(org.eclipse.jetty.server.Request request, org.eclipse.jetty.http.HttpFields.Mutable responseHeaders)
      Specified by:
      customize in interface org.eclipse.jetty.server.HttpConfiguration.Customizer