//Register Jackson support
packages("org.glassfish.jersey.examples.jackson").register(JacksonFeature.class);
//Add ExceptionMapper and create Container
register(exceptionMapperClass);
GrizzlyHttpContainer grizzlyHttpContainer = ContainerFactory.createContainer(GrizzlyHttpContainer.class, this);
// Set our ServerConfiguration options
final ServerConfiguration config = httpServer.getServerConfiguration();
config.addHttpHandler(grizzlyHttpContainer, configuration.getHttpServer().getRootContext());
config.setPassTraceRequest(configuration.getHttpServer().isPassTraceRequest());