Class ConfluenceGraphQLRestEndpoint
- java.lang.Object
-
- com.atlassian.confluence.plugins.graphql.resource.ConfluenceGraphQLRestEndpoint
-
@Component public class ConfluenceGraphQLRestEndpoint extends Object
Provides the REST API endpoint for GraphQL.- Since:
- 6.12.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceGraphQLRestEndpoint(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, com.atlassian.sal.api.rdbms.TransactionalExecutorFactory transactionalExecutorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Object
execute(String requestString, String query, javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request)
graphql.schema.GraphQLSchema
getSchema()
void
handleEvent(PluginFrameworkStartedEvent event)
void
handleEvent(com.atlassian.plugin.event.events.PluginDisabledEvent event)
void
handleEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event)
void
handleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event)
void
init()
-
-
-
Constructor Detail
-
ConfluenceGraphQLRestEndpoint
@Autowired public ConfluenceGraphQLRestEndpoint(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, com.atlassian.sal.api.rdbms.TransactionalExecutorFactory transactionalExecutorFactory)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
handleEvent
@EventListener public void handleEvent(PluginFrameworkStartedEvent event)
-
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event)
-
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginDisabledEvent event)
-
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event)
-
getSchema
public graphql.schema.GraphQLSchema getSchema()
-
-