public class JettyServerModule
extends com.sun.jersey.guice.JerseyServletModule
Modifier and Type | Class and Description |
---|---|
static class |
JettyServerModule.DruidGuiceContainer |
Constructor and Description |
---|
JettyServerModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureServlets() |
com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider |
getJacksonJsonProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
org.eclipse.jetty.server.Server |
getServer(com.google.inject.Injector injector,
com.metamx.common.lifecycle.Lifecycle lifecycle,
DruidNode node,
ServerConfig config) |
exceptionMapperContext, extendedUriInfo, featuresAndProperties, httpContext, httpHeaders, messageBodyWorkers, providers, request, requestContext, resourceContext, responseContext, securityContext, uriInfo, webApp
configure, filter, filterRegex, getServletContext, serve, serveRegex
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configureServlets()
configureServlets
in class com.google.inject.servlet.ServletModule
@Provides public org.eclipse.jetty.server.Server getServer(com.google.inject.Injector injector, com.metamx.common.lifecycle.Lifecycle lifecycle, DruidNode node, ServerConfig config)
@Provides public com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider getJacksonJsonProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2011–2015. All rights reserved.