Skip to content

Support for reading and writing Google Protocol Buffer objects within Dropwizard

License

Notifications You must be signed in to change notification settings

dropwizard/dropwizard-protobuf

Folders and files

NameName
Last commit message
Last commit date
Feb 24, 2025
Aug 19, 2024
Dec 21, 2023
Nov 17, 2017
Jul 14, 2018
Oct 5, 2018
Jun 28, 2018
Jun 14, 2021
Jan 21, 2019
Jun 27, 2021
Jun 27, 2021
Jan 20, 2025
Dec 21, 2023
Jan 21, 2019

Repository files navigation

Dropwizard Protobuf

Build Status Maven Central GitHub license

dropwizard-protobuf is a Jersey JAX-RS Entity Provider that allows reading and writing messages in Google's Protocol Buffers format.

Usage

Just add the ProtocolBundle to your Dropwizard application inside the Application#initialize method.

@Override
public void initialize(Bootstrap<HelloWorldConfiguration> bootstrap) {
    bootstrap.addBundle(new ProtobufBundle());
}

Maven Artifacts

This project is available on Maven Central. To add it to your project simply add the following dependencies to your pom.xml:

<dependency>
    <groupId>io.dropwizard.modules</groupId>
    <artifactId>dropwizard-protobuf</artifactId>
    <version>2.0.7-1</version>
</dependency>

Support

Please file bug reports and feature requests in GitHub issues.

License

Copyright (c) 2020 Smoke Turner, LLC

This library is licensed under the Apache License, Version 2.0.

See http://www.apache.org/licenses/LICENSE-2.0.html or the LICENSE file in this repository for the full license text.