Class GraphQLOnlyParameterInjectableProvider
- java.lang.Object
-
- com.atlassian.confluence.plugins.restapi.graphql.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 Summary
Constructors Constructor Description GraphQLOnlyParameterInjectableProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
com.sun.jersey.core.spi.component.ComponentScope
getScope()
-
-
-
Method Detail
-
getScope
public com.sun.jersey.core.spi.component.ComponentScope getScope()
- Specified by:
getScope
in interfacecom.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 interfacecom.sun.jersey.spi.inject.InjectableProvider<com.atlassian.graphql.annotations.GraphQLName,com.sun.jersey.api.model.Parameter>
-
-