Class ProtobufBundle<C extends io.dropwizard.core.Configuration>
java.lang.Object
io.github.devlibx.easy.app.dropwizard.v2.proto.ProtobufBundle<C>
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<C>
public class ProtobufBundle<C extends io.dropwizard.core.Configuration>
extends Object
implements io.dropwizard.core.ConfiguredBundle<C>
-
Constructor Summary
ConstructorsConstructorDescriptionProtobufBundle(boolean preservingProtoFieldNames) ProtobufBundle(boolean preservingProtoFieldNames, Class<? extends io.dropwizard.jersey.protobuf.ProtocolBufferMessageBodyProvider> protocolBufferMessageBodyProviderClass) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap) void
-
Constructor Details
-
ProtobufBundle
public ProtobufBundle() -
ProtobufBundle
public ProtobufBundle(boolean preservingProtoFieldNames) -
ProtobufBundle
public ProtobufBundle(boolean preservingProtoFieldNames, Class<? extends io.dropwizard.jersey.protobuf.ProtocolBufferMessageBodyProvider> protocolBufferMessageBodyProviderClass)
-
-
Method Details
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap) - Specified by:
initializein interfaceio.dropwizard.core.ConfiguredBundle<C extends io.dropwizard.core.Configuration>
-
run
- Specified by:
runin interfaceio.dropwizard.core.ConfiguredBundle<C extends io.dropwizard.core.Configuration>
-