Class GraphQLOnlyParameterInjectableProvider

  • All Implemented Interfaces:
    com.sun.jersey.spi.inject.InjectableProvider<com.atlassian.graphql.annotations.GraphQLName,​com.sun.jersey.api.model.Parameter>

    @Provider
    public class GraphQLOnlyParameterInjectableProvider
    extends Object
    implements com.sun.jersey.spi.inject.InjectableProvider<com.atlassian.graphql.annotations.GraphQLName,​com.sun.jersey.api.model.Parameter>
    A jersey plugin that assigns a default value to resource method parameters that have no jersey annotations (such as @QueryParam) but only graphql annotations (such as @GraphQLName).
    Since:
    6.12.0
    • Constructor Detail

      • GraphQLOnlyParameterInjectableProvider

        public GraphQLOnlyParameterInjectableProvider()
    • Method Detail

      • getScope

        public com.sun.jersey.core.spi.component.ComponentScope getScope()
        Specified by:
        getScope in interface com.sun.jersey.spi.inject.InjectableProvider<com.atlassian.graphql.annotations.GraphQLName,​com.sun.jersey.api.model.Parameter>
      • getInjectable

        public com.sun.jersey.spi.inject.Injectable getInjectable​(com.sun.jersey.core.spi.component.ComponentContext ic,
                                                                  com.atlassian.graphql.annotations.GraphQLName a,
                                                                  com.sun.jersey.api.model.Parameter parameter)
        Specified by:
        getInjectable in interface com.sun.jersey.spi.inject.InjectableProvider<com.atlassian.graphql.annotations.GraphQLName,​com.sun.jersey.api.model.Parameter>