All Downloads are FREE. Search and download functionalities are using the official Maven repository.

app.Module Maven / Gradle / Ivy

There is a newer version: 9.1.0-Beta4
Show newest version
package app;

import com.google.inject.AbstractModule;
import filters.MyGlobalFilter;
import io.mangoo.interfaces.MangooBootstrap;
import io.mangoo.interfaces.filters.OncePerRequestFilter;

public class Module extends AbstractModule {
    @Override
    protected void configure() {
        bind(MangooBootstrap.class).to(Bootstrap.class);
        bind(OncePerRequestFilter.class).to(MyGlobalFilter.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy