@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ContextInjectionResolver.Binder(),
@Override protected void configure() { bind(new RequestScope()).to(RequestScope.class); } }
@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ContextInjectionResolver.Binder(),
@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ContextInjectionResolver.Binder(),
@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ServerProcessingBinder(), new ContextInjectionResolver.Binder(), new ParameterInjectionBinder(), new JerseyClassAnalyzer.Binder(), new MessagingBinders.MessageBodyProviders(applicationProperties, RuntimeType.SERVER), new MessageBodyFactory.Binder(), new ExceptionMapperFactory.Binder(), new ContextResolverFactory.Binder(), new JaxrsProviders.Binder(), new ProcessingProviders.Binder(), new ResourceModelBinder(), new ServiceFinderBinder<>(ContainerProvider.class, applicationProperties, RuntimeType.SERVER), new JerseyResourceContext.Binder(), new ServiceFinderBinder<>(AutoDiscoverable.class, applicationProperties, RuntimeType.SERVER), new MappableExceptionWrapperInterceptor.Binder(), new MonitoringContainerListener.Binder()); //ChunkedResponseWriter bind(ChunkedResponseWriter.class).to(MessageBodyWriter.class).in(Singleton.class); // JSONP bind(JsonWithPaddingInterceptor.class).to(WriterInterceptor.class).in(Singleton.class); } }
@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ServerProcessingBinder(), new ContextInjectionResolver.Binder(), new ParameterInjectionBinder(), new JerseyClassAnalyzer.Binder(), new MessagingBinders.MessageBodyProviders(applicationProperties, RuntimeType.SERVER), new MessageBodyFactory.Binder(), new ExceptionMapperFactory.Binder(), new ContextResolverFactory.Binder(), new JaxrsProviders.Binder(), new ProcessingProviders.Binder(), new ResourceModelBinder(), new ServiceFinderBinder<>(ContainerProvider.class, applicationProperties, RuntimeType.SERVER), new JerseyResourceContext.Binder(), new ServiceFinderBinder<>(AutoDiscoverable.class, applicationProperties, RuntimeType.SERVER), new MappableExceptionWrapperInterceptor.Binder(), new MonitoringContainerListener.Binder()); //ChunkedResponseWriter bind(ChunkedResponseWriter.class).to(MessageBodyWriter.class).in(Singleton.class); // JSONP bind(JsonWithPaddingInterceptor.class).to(WriterInterceptor.class).in(Singleton.class); } }
@Override protected void configure() { install(new RequestScope.Binder(), // must go first as it registers the request scope instance. new JerseyErrorService.Binder(), new ServerProcessingBinder(), new ContextInjectionResolver.Binder(), new ParameterInjectionBinder(), new JerseyClassAnalyzer.Binder(), new MessagingBinders.MessageBodyProviders(applicationProperties, RuntimeType.SERVER), new MessageBodyFactory.Binder(), new ExceptionMapperFactory.Binder(), new ContextResolverFactory.Binder(), new JaxrsProviders.Binder(), new ProcessingProviders.Binder(), new ResourceModelBinder(), new ServiceFinderBinder<>(ContainerProvider.class, applicationProperties, RuntimeType.SERVER), new JerseyResourceContext.Binder(), new ServiceFinderBinder<>(AutoDiscoverable.class, applicationProperties, RuntimeType.SERVER), new MappableExceptionWrapperInterceptor.Binder(), new MonitoringContainerListener.Binder()); //ChunkedResponseWriter bind(ChunkedResponseWriter.class).to(MessageBodyWriter.class).in(Singleton.class); // JSONP bind(JsonWithPaddingInterceptor.class).to(WriterInterceptor.class).in(Singleton.class); } }
@Override protected void configure() { bind(new RequestScope()).to(RequestScope.class); } }
@Override protected void configure() { bind(new RequestScope()).to(RequestScope.class); } }