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

    Constructors
    Constructor
    Description
     
    ProtobufBundle(boolean preservingProtoFieldNames)
     
    ProtobufBundle(boolean preservingProtoFieldNames, Class<? extends io.dropwizard.jersey.protobuf.ProtocolBufferMessageBodyProvider> protocolBufferMessageBodyProviderClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
     
    void
    run(C configuration, io.dropwizard.core.setup.Environment environment)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      initialize in interface io.dropwizard.core.ConfiguredBundle<C extends io.dropwizard.core.Configuration>
    • run

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