Support for reading and writing Google Protocol Buffer objects within Dropwizard
Java Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.mvn/wrapper
src
.editorconfig
.gitignore
.travis.yml
.travis_after_success.sh
LICENSE
README.md
maven_deploy_settings.xml
mvnw
mvnw.cmd
pom.xml

README.md

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>1.3.5-1</version>
</dependency>

Support

Please file bug reports and feature requests in GitHub issues.

License

Copyright (c) 2018 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.