Class ArmeriaBundle<C extends io.dropwizard.Configuration>

java.lang.Object
com.linecorp.armeria.dropwizard.ArmeriaBundle<C>
Type Parameters:
C - The Dropwizard Configuration type.
All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<C>

public abstract class ArmeriaBundle<C extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<C>
A Dropwizard ConfiguredBundle that routes requests through an Armeria Server rather than the default Jetty server.
  • Constructor Details

    • ArmeriaBundle

      public ArmeriaBundle()
  • Method Details

    • initialize

      public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
      Specified by:
      initialize in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
    • run

      public void run(C configuration, io.dropwizard.setup.Environment environment) throws Exception
      Specified by:
      run in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
      Throws:
      Exception
    • configure

      public abstract void configure(ServerBuilder builder)