Package com.linecorp.armeria.dropwizard
Class ArmeriaBundle<C extends Configuration>
java.lang.Object
com.linecorp.armeria.dropwizard.ArmeriaBundle<C>
- Type Parameters:
C
- The DropwizardConfiguration
type.
- All Implemented Interfaces:
ConfiguredBundle<C>
public abstract class ArmeriaBundle<C extends Configuration>
extends Object
implements ConfiguredBundle<C>
A Dropwizard
ConfiguredBundle
that routes requests through an
Armeria Server
rather than the default Jetty server.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
configure(ServerBuilder builder)
void
initialize(Bootstrap<?> bootstrap)
void
run(C configuration, Environment environment)
-
Constructor Details
-
ArmeriaBundle
public ArmeriaBundle()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceConfiguredBundle<C extends Configuration>
-
run
- Specified by:
run
in interfaceConfiguredBundle<C extends Configuration>
- Throws:
Exception
-
configure
-