Class ServletContainer

java.lang.Object
brave.test.http.ServletContainer

public abstract class ServletContainer
extends Object
Starts a jetty server which runs a servlet container
  • Constructor Details

  • Method Details

    • init

      public final void init()
      recreates the server so that it uses the supplied trace configuration
    • url

      public final String url​(String path)
    • init

      public abstract void init​(org.eclipse.jetty.servlet.ServletContextHandler handler)
      Implement by registering a servlet for the test resource and anything needed for tracing
    • stop

      public void stop()