Once you have created a WavefrontJerseyFilter, register it in your dropwizard application as follows:
public class MyApplication extends Application<MyConfiguration>{
@Override
public void run(MyApplicationConfiguration configuration, Environment environment) {
...
...
// Create the filter as specified in the link above
WavefrontJerseyFilter wfJerseyFilter = buildJerseyFilter();
// Register the filter with Dropwizard Jersey Environment
environment.jersey().register(wfJerseyFilter);
...
...
}
}See the dropwizard documentation for further details on Jersey filters.