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 voiddestroy()Objectexecute(String requestString, String query, javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request)graphql.schema.GraphQLSchemagetSchema()voidhandleEvent(PluginFrameworkStartedEvent event)voidhandleEvent(com.atlassian.plugin.event.events.PluginDisabledEvent event)voidhandleEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event)voidhandleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event)voidinit() 
 - 
 
- 
- 
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()
 
 - 
 
 -