Search in sources :

Example 1 with JacksonConfig

use of org.webpieces.plugin.json.JacksonConfig in project webpieces by deanhiller.

the class JsonMeta method getPlugins.

@Override
public List<Plugin> getPlugins() {
    JacksonConfig config = new JacksonConfig("/json/.*");
    config.setFilterClazz(TestCatchAllFilter.class);
    config.setNotFoundFilterClazz(TestNotFoudSubclassFilter.class);
    return Lists.<Plugin>newArrayList(new JacksonPlugin(config));
}
Also used : JacksonConfig(org.webpieces.plugin.json.JacksonConfig) JacksonPlugin(org.webpieces.plugin.json.JacksonPlugin) JacksonPlugin(org.webpieces.plugin.json.JacksonPlugin) Plugin(org.webpieces.router.api.plugins.Plugin)

Aggregations

JacksonConfig (org.webpieces.plugin.json.JacksonConfig)1 JacksonPlugin (org.webpieces.plugin.json.JacksonPlugin)1 Plugin (org.webpieces.router.api.plugins.Plugin)1