Fork me on GitHub

Dropwizard Forms

The dropwizard-forms module provides you with a support for multi-part forms via Jersey.

Adding The Bundle

Then, in your application’s initialize method, add a new MultiPartBundle subclass:

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

More Information

For additional and more detailed documentation about the Jersey multi-part support, please refer to the documentation in the Jersey User Guide and Javadoc.