cd.connect.spring.jersey.JerseyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servlet-spring-jersey Show documentation
Show all versions of servlet-spring-jersey Show documentation
servlet-spring-jersey - spring/jersey support. requires spring-web's RequestContextFilter.
package cd.connect.spring.jersey;
import cd.connect.spring.Module;
import cd.connect.spring.jersey.log.JerseyFilteringConfiguration;
import java.util.stream.Stream;
/**
* Must include this in Spring context to register filtering capability.
*
* @author Richard Vowles - https://plus.google.com/+RichardVowles
*/
public class JerseyConfig extends Module {
@Override
public void register() {
register(Stream.of(JerseyFilteringConfiguration.class));
}
}