Skip to content
Support for reading and writing Google Protocol Buffer objects within Dropwizard
Java Shell
Branch: master
Clone or download

Latest commit

jplock Merge pull request #55 from dropwizard/dependabot/maven/com.google.pr…
…otobuf-protobuf-bom-3.12.1

Bump protobuf-bom from 3.11.4 to 3.12.1
Latest commit d03c076 May 21, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.mvn/wrapper
src
.editorconfig
.gitignore
.travis.yml
.travis_after_success.sh
LICENSE
README.md
maven_deploy_settings.xml
mvnw
mvnw.cmd
pom.xml
spotbugs.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>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.

You can’t perform that action at this time.