Class JettyServerExtension

java.lang.Object
com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
com.github.mjeanroy.junit.servers.jetty.jupiter.JettyServerExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.ParameterResolver

@Deprecated public class JettyServerExtension extends JunitServerExtension
Deprecated.
Use junit-servers-jetty-9 instead.
A specialized JunitServerExtension that will instantiate an EmbeddedJetty server automatically instead of using the Service Provider API. Since this jupiter extends JunitServerExtension, it has exactly the same features (parameter injections, etc.).
See Also:
  • Constructor Details

    • JettyServerExtension

      public JettyServerExtension()
      Deprecated.
      Create the jupiter with default behavior.
    • JettyServerExtension

      public JettyServerExtension(EmbeddedJetty jetty)
      Deprecated.
      Create the jupiter and specify the embedded jetty instance to use.
      Parameters:
      jetty - The embedded jetty instance to use.
      Throws:
      NullPointerException - If jetty is null.
    • JettyServerExtension

      public JettyServerExtension(EmbeddedJettyConfiguration configuration)
      Deprecated.
      Create the jupiter and specify the embedded jetty configuration to use (when using * jupiter with RegisterExtension).
      Parameters:
      configuration - The embedded jetty configuration to use.
      Throws:
      NullPointerException - If configuration is null.
  • Method Details