//Register Jackson support
registerJacksonSupport();
//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());