protected void provideResponseRewriters() { mapbinder = MapBinder.newMapBinder(binder(), new TypeLiteral<RewritePath>(){}, new TypeLiteral<List<ResponseRewriter>>() {}); Provider<List<ResponseRewriter>> accelRewriterList = getResponseRewriters( ACCEL_CONTAINER, RewriteFlow.ACCELERATE); Provider<List<ResponseRewriter>> requestPipelineRewriterList = getResponseRewriters( DEFAULT_CONTAINER, RewriteFlow.REQUEST_PIPELINE); addBindingForRewritePath(DEFAULT_CONTAINER, RewriteFlow.REQUEST_PIPELINE); addBindingForRewritePath(DEFAULT_CONTAINER, RewriteFlow.DEFAULT); addBindingForRewritePath(ACCEL_CONTAINER, RewriteFlow.ACCELERATE); addBindingForRewritePath(ACCEL_CONTAINER, RewriteFlow.REQUEST_PIPELINE, requestPipelineRewriterList); addBindingForRewritePath(ACCEL_CONTAINER, RewriteFlow.DEFAULT, accelRewriterList); }