Class HostedClientJarsServerCustomizer

java.lang.Object
org.apache.phoenix.queryserver.server.customizers.HostedClientJarsServerCustomizer
All Implemented Interfaces:
org.apache.calcite.avatica.server.ServerCustomizer<org.eclipse.jetty.server.Server>

public class HostedClientJarsServerCustomizer extends Object implements org.apache.calcite.avatica.server.ServerCustomizer<org.eclipse.jetty.server.Server>
Hosts a Maven repository from local filesystem over HTTP from within PQS.
  • Constructor Details

    • HostedClientJarsServerCustomizer

      public HostedClientJarsServerCustomizer(File localMavenRepoRoot, String contextPath)
      Parameters:
      localMavenRepoRoot - The path to the Phoenix-built maven repository on the local filesystem
      contextPath - The HTTP path which the repository will be hosted at
  • Method Details

    • customize

      public void customize(org.eclipse.jetty.server.Server server)
      Specified by:
      customize in interface org.apache.calcite.avatica.server.ServerCustomizer<org.eclipse.jetty.server.Server>