Java 类org.glassfish.jersey.server.internal.inject.MultivaluedParameterExtractorProvider 实例源码

项目:dropwizard-guicey    文件:GuiceBindingsModule.java   
@Override
protected void configure() {
    jerseyToGuice(MultivaluedParameterExtractorProvider.class);
    jerseyToGuice(Application.class);
    jerseyToGuice(Providers.class);

    // request scoped objects, but hk will control their scope
    // must be used in guice only with Provider
    jerseyToGuice(UriInfo.class);
    jerseyToGuice(ResourceInfo.class);
    jerseyToGuice(HttpHeaders.class);
    jerseyToGuice(SecurityContext.class);
    jerseyToGuice(Request.class);
    jerseyToGuice(ContainerRequest.class);
    jerseyToGuice(AsyncContext.class);

    if (!guiceServletSupport) {
        // bind request and response objects when guice servlet module not registered
        // but this will work only for resources
        jerseyToGuice(HttpServletRequest.class);
        jerseyToGuice(HttpServletResponse.class);
    }
}
项目:ratelimitj    文件:RateLimitBundle.java   
@Inject
public RateLimitingFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
                                   final ServiceLocator injector,
                                   final RateLimiterFactoryProvider rateLimiterFactoryProvider) {
    super(extractorProvider, injector, Parameter.Source.UNKNOWN);
    this.requestRateLimiterFactory = rateLimiterFactoryProvider.factory;
}
项目:jax-rs-pac4j    文件:Pac4JValueFactoryProvider.java   
@Inject
protected Pac4JProfileValueFactoryProvider(ProfileManagerFactoryBuilder manager,
        OptionalProfileFactoryBuilder opt, ProfileFactoryBuilder profile,
        MultivaluedParameterExtractorProvider mpep, ServiceLocator locator) {
    super(mpep, locator, Parameter.Source.UNKNOWN);
    this.manager = manager;
    this.optProfile = opt;
    this.profile = profile;
}
项目:JaxRs2Retrofit    文件:CustomAnnotationTest.java   
@Inject
protected CustomAnnotationProvider(
        MultivaluedParameterExtractorProvider mpep,
        ServiceLocator locator) {

    super(mpep, locator, Parameter.Source.UNKNOWN);
}
项目:keywhiz    文件:AuthResolver.java   
@Inject
public AuthValueFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
    final ServiceLocator injector, ClientAuthFactory clientAuthFactory,
    AutomationClientAuthFactory automationClientAuthFactory, UserAuthFactory userAuthFactory) {
  super(extractorProvider, injector, Parameter.Source.UNKNOWN);
  this.clientAuthFactory = clientAuthFactory;
  this.automationClientAuthFactory = automationClientAuthFactory;
  this.userAuthFactory = userAuthFactory;
}
项目:dropwizard-jooq    文件:ConfigurationFactoryProvider.java   
@Inject
protected ConfigurationFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
        final ServiceLocator injector, final ConfigurationFactoryInfo configInfo) {
    super(extractorProvider, injector, Parameter.Source.UNKNOWN);
    this.configuration = configInfo.configuration;
    this.dataSource = configInfo.dataSource;
    this.multiTenantConnectionProvider = configInfo.multiTenantConnectionProvider;
}
项目:jersey-properties    文件:PropertiesValueFactoryProvider.java   
@Inject
public PropertiesValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
        ServiceLocator locator,
        Configuration configuration) {
    super(mpep, locator, Parameter.Source.UNKNOWN);
    this.serviceLocator = locator;
    this.i18nEnabled = PropertiesHelper.getValue(configuration.getProperties(),
            RuntimeType.SERVER, JerseyPropertiesFeature.ENABLE_I18N, false, null);
}
项目:robe    文件:TokenFactoryProvider.java   
@Inject
public TokenFactoryProvider(
        final MultivaluedParameterExtractorProvider extractorProvider,
        ServiceLocator locator) {

    super(extractorProvider, locator, Parameter.Source.UNKNOWN);
}
项目:jersey-hmac-auth    文件:PrincipalValueFactoryProvider.java   
@Inject
public PrincipalValueFactoryProvider(final MultivaluedParameterExtractorProvider mpep,
        final ServiceLocator locator, final PrincipalFactory<P> factory) {
    super(mpep, locator, UNKNOWN);
    notNull(factory, "factory cannot be null");
    this.factory = factory;
}
项目:Singularity    文件:SingularityAuthFactoryProvider.java   
@javax.inject.Inject
public SingularityAuthFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
                                      ServiceLocator locator,
                                      SingularityAuthedUserFactory authFactory) {
  super(extractorProvider, locator, Source.UNKNOWN);
  this.authFactory = authFactory;
}
项目:ratelimitj    文件:RateLimit429EnforcerFilterTest.java   
@Inject
public TestRateLimitingFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
                                       final ServiceLocator injector) {
    super(extractorProvider, injector, Parameter.Source.UNKNOWN);
}
项目:protox-webapp-archetype    文件:JsonParamValueFactoryProvider.java   
@Inject
protected JsonParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, ServiceLocator locator) {
    super(mpep, locator, Parameter.Source.UNKNOWN);
    LOGGER.info("JsonParamValueFactoryProvider constructed");
}
项目:graphql    文件:AuthContainerRequestFilter.java   
@Inject
protected AuthHeaderParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, ServiceLocator locator)
{
  super(mpep, locator, Parameter.Source.UNKNOWN);
}
项目:robe    文件:SearchFactoryProvider.java   
@Inject
public SearchFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider,
                             ServiceLocator locator) {

    super(extractorProvider, locator, Parameter.Source.UNKNOWN);
}
项目:dropwizard-experiment    文件:DummyAuth.java   
@Inject
public DummyAuth(MultivaluedParameterExtractorProvider mpep, ServiceLocator locator) {
    super(mpep, locator, Parameter.Source.UNKNOWN);
}
项目:commafeed    文件:SessionHelperFactoryProvider.java   
@Inject
public SessionHelperFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider, final ServiceLocator injector) {
    super(extractorProvider, injector, Parameter.Source.CONTEXT);
}
项目:commafeed    文件:SecurityCheckFactoryProvider.java   
@Inject
public SecurityCheckFactoryProvider(final MultivaluedParameterExtractorProvider extractorProvider, final ServiceLocator injector) {
    super(extractorProvider, injector, Parameter.Source.UNKNOWN);
}