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

com.cerner.beadledom.resteasy.ResteasyModule Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package com.cerner.beadledom.resteasy;

import com.cerner.beadledom.core.BeadledomModule;
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import javax.servlet.ServletContext;
import org.jboss.resteasy.plugins.guice.ext.RequestScopeModule;

/**
 * The core guice module for Beadledom on Resteasy.
 *
 * 

This module installs {@link BeadledomModule} for pulling all of the beadledom components * together, as well as the Resteasy {@link RequestScopeModule}. * *

To use this module extend {@link ResteasyContextListener} and provide this module and any of * your own modules via the {@link ResteasyContextListener#getModules(ServletContext)} method. * *

Provides: *

    *
  • {@link GzipContentEncodingFilter}
  • *
* * @author John Leacox */ public class ResteasyModule extends AbstractModule { @Override protected void configure() { install(new BeadledomModule()); install(new RequestScopeModule()); } @Provides GzipContentEncodingFilter provideGzipContentEncodingFilter() { return new GzipContentEncodingFilter(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy