A Dropwizard bundle for integrating Vavr in Dropwizard applications.
The package provides integration of Vavr classes into Jackson (via vavr-jackson), Jersey (via custom classes), and Jdbi 3 (via jdbi3-vavr).
Just add VavrBundle
to your Dropwizard application as a Bundle.
public class DemoApplication extends Application<DemoConfiguration> {
// [...]
@Override
public void initialize(Bootstrap<DemoConfiguration> bootstrap) {
bootstrap.addBundle(new VavrBundle());
// [...]
}
}
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-vavr</artifactId>
<version>2.0.0-1</version>
</dependency>
Please file bug reports and feature requests in GitHub issues.
Copyright (c) 2017-2020 Jochen Schalanda, Dropwizard Team
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.