Offers the ability to wrap a @FormParam within an Optional
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

DropWizard Optional @FormParam

NOTE: This functionality was merged into DropWizard 0.7.X [PR ->]

If you need the ability to wrap a @FormParam value within an Optional object. This bundle will add the required functionality.

Adding to your application

Default configuration

If you're happy for the flash scope cookie to be created with the default configuration, add this to your Application class:

public void initialize(Bootstrap<HyraxApplicationConfiguration> bootstrap) {
    bootstrap.addBundle(new OptionalFormParamBundle());