io.dropwizard.forms.MultiPartBundle Maven / Gradle / Ivy
package io.dropwizard.forms;
import io.dropwizard.core.Configuration;
import io.dropwizard.core.ConfiguredBundle;
import io.dropwizard.core.setup.Environment;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
/**
* A {@link ConfiguredBundle}, which enables the processing of multi-part form data by your application.
*
* @see org.glassfish.jersey.media.multipart.MultiPartFeature
* @see Jersey Multipart
*/
public class MultiPartBundle implements ConfiguredBundle {
@Override
public void run(Configuration configuration, Environment environment) {
environment.jersey().register(MultiPartFeature.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy