Class ProtobufBundle<C extends io.dropwizard.Configuration>

java.lang.Object
io.github.devlibx.easy.app.dropwizard.proto.ProtobufBundle<C>
All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<C>

public class ProtobufBundle<C extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<C>
  • 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.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)
      Specified by:
      run in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>