Package com.linecorp.armeria.dropwizard
Class ArmeriaBundle<C extends io.dropwizard.Configuration>
java.lang.Object
com.linecorp.armeria.dropwizard.ArmeriaBundle<C>
- Type Parameters:
C
- The DropwizardConfiguration
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
configure
(ServerBuilder builder) void
initialize
(io.dropwizard.setup.Bootstrap<?> bootstrap) void
-
Constructor Details
-
ArmeriaBundle
public ArmeriaBundle()
-
-
Method Details
-
initialize
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) - Specified by:
initialize
in interfaceio.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
-
run
-
configure
-