io.dropwizard.vavr.jersey.LazyParamBinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-vavr Show documentation
Show all versions of dropwizard-vavr Show documentation
Addon bundle for Dropwizard to support Vavr
package io.dropwizard.vavr.jersey;
import org.glassfish.hk2.utilities.binding.AbstractBinder;
import javax.inject.Singleton;
import javax.ws.rs.ext.ParamConverterProvider;
final class LazyParamBinder extends AbstractBinder {
@Override
protected void configure() {
// Param converter providers
bind(LazyParamConverterProvider.class).to(ParamConverterProvider.class).in(Singleton.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy