use of com.jayway.jsonpath.web.resource.ApiResource in project JsonPath by jayway.
the class Main method createJerseyServlet.
private static ServletContainer createJerseyServlet() throws IOException {
ResourceConfig resourceConfig = new ResourceConfig();
resourceConfig.register(JacksonFeature.class);
resourceConfig.register(new ApiResource());
return new ServletContainer(resourceConfig);
}
Aggregations